81 lines
1.3 KiB
Plaintext
81 lines
1.3 KiB
Plaintext
|
#include <unistd.h>
|
||
|
#ifndef S4NO_ECVT
|
||
|
char *ecvt( double, int, int*, int* ) ;
|
||
|
#endif
|
||
|
#ifndef S4NO_FCVT
|
||
|
char *fcvt( double, int, int*, int* ) ;
|
||
|
#endif
|
||
|
#endif
|
||
|
|
||
|
#define S4CMP_PARM const void *
|
||
|
|
||
|
#ifndef USHRT_MAX
|
||
|
#define USHRT_MAX 0xFFFF
|
||
|
#endif
|
||
|
#ifndef INT_MAX
|
||
|
#define INT_MAX 0x7FFF
|
||
|
#endif
|
||
|
#ifndef UINT_MAX
|
||
|
#define UINT_MAX 0xFFFF
|
||
|
#endif
|
||
|
#ifndef LONG_MAX
|
||
|
#define LONG_MAX 2147483647
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4LOCKF
|
||
|
#define S4LOCKING
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4MULTIC4
|
||
|
#include <sys/wait.h>
|
||
|
#endif
|
||
|
|
||
|
#ifndef S4NO_FLOCK
|
||
|
#include <sys/file.h>
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4NO_SIZE_T
|
||
|
typedef unsigned size_t ;
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4NO_STRNICMP
|
||
|
int strnicmp(char *, char *, size_t ) ;
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4NO_MEMMOVE
|
||
|
void *c4memmove(void *, const void *, size_t) ;
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4LSEEK
|
||
|
#define S4OFF_OPTIMIZE
|
||
|
long f4lseek(FILE4 *, long, int, int ) ;
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4NO_FCVT
|
||
|
char *f4fcvt( double, int, int *, int * ) ;
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4NO_ECVT
|
||
|
char *f4ecvt( double, int, int *, int * ) ;
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4NO_ATOF
|
||
|
double c4atof(char *) ;
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4BYTEORDER_3210
|
||
|
#define S4DO_BYTEORDER
|
||
|
#endif
|
||
|
|
||
|
#ifdef S4BYTEORDER_2301
|
||
|
#define S4DO_BYTEORDER
|
||
|
#endif
|