campo-sirio/cb/setup/d4port.h.bkup
alex af15e0698b Codebase
git-svn-id: svn://10.65.10.50/trunk@4679 c028cbd2-c16b-5b4b-a496-9718f37d4682
1997-06-16 13:01:08 +00:00

58 lines
1.3 KiB
Plaintext
Executable File

/*********************************************************************
d4port.h (c)Copyright Sequiter Software Inc., 1996.
All rights reserved.
This is the header file for d4port.c and should be modified by the user
so that the program may compile.
*********************************************************************/
/***USER DEFINE AREA START***/
#define S4LOCKF
/* #define S4NO_ATOF */
/* #define S4NO_CHSIZE */
/* #define S4NO_ECVT */
/* #define S4NO_FCVT */
/* #define S4NO_FILELENGTH */
/* #define S4NO_FTIME */
/* #define S4NO_MEMMOVE */
/* #define S4NO_POW */
/* #define S4NO_RENAME */
/* #define S4NO_REMOVE */
/* #define S4NO_SIZE_T */
/* #define S4NO_STRLWR */
/* #define S4NO_STRUPR */
/* #define S4NO_STRNICMP */
/***USER DEFINE AREA END***/
#define T4LOCK_POS 1000000000L
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <signal.h>
#include <sys/wait.h>
#include <math.h>
#include <string.h>
#ifndef S4NO_FTIME
#include <sys/timeb.h>
#else
#include <sys/time.h>
#endif
#ifdef S4NO_SIZE_T
typedef unsigned size_t ;
#endif
/*static void sig_bus(int signo);*/
/* int buserr = 0;*/
static int filelen(int myfile);