ftp.nice.ch/pub/next/unix/developer/RevScanner.s.tar.gz#/RevScanner/conf.h

This is conf.h in view mode; [Download] [Up]

/* RevScanner compile-time configuration */

static char rcs2id[]="$Id: conf.h,v 1.3 1991/12/20 01:45:40 dstrout Beta $";


#define exitmain(n) return n /* how to exit from main() */
#if !MAKEDEPEND
#	include <stdio.h>
#	include <sys/types.h>
#	include <sys/stat.h>
#	include <fcntl.h>
#	include <limits.h>
#	include <stdlib.h>
#	include <string.h>
	/* #include <unistd.h> does not work.  */
	/* #include <vfork.h> does not work.  */
#endif /* !MAKEDEPEND */
#define has_sys_dir_h 1 /* Does #include <sys/dir.h> work?  */
#define has_sys_param_h 1 /* Does #include <sys/param.h> work?  */
#define has_sys_wait_h 1 /* Does #include <sys/wait.h> work?  */
/* #define const */ /* The 'const' keyword works.  */
/* #define volatile */ /* The 'volatile' keyword works.  */
/* typedef int gid_t; */ /* Standard headers define gid_t.  */
typedef int mode_t; /* Standard headers do not define mode_t.  */
typedef int pid_t; /* Standard headers do not define pid_t.  */
/* typedef int sig_atomic_t; */ /* Standard headers define sig_atomic_t.  */
/* typedef int size_t; */ /* Standard headers define size_t.  */
/* typedef long time_t; */ /* Standard headers define time_t.  */
/* typedef int uid_t; */ /* Standard headers define uid_t.  */
#define has_prototypes 1 /* Do function prototypes work?  */
#if has_prototypes
#	define P(params) params
#	if !MAKEDEPEND
#		include <stdarg.h>
#	endif
#	define vararg_start(ap,p) va_start(ap,p)
#else
#	define P(params) ()
#	if !MAKEDEPEND
#		include <varargs.h>
#	endif
#	define vararg_start(ap,p) va_start(ap)
#endif
#define has_getuid 1 /* Does getuid() work?  */
#define declare_getpwuid /* struct passwd *getpwuid P((uid_t)); */
#define has_rename 1 /* Does rename() work?  */
#define bad_rename 0 /* Does rename(A,B) fail if B exists?  */
#define VOID (void) /* 'VOID e;' discards the value of an expression 'e'.  */
#define signal_type void /* type returned by signal handlers */
#define sig_zaps_handler 0 /* Must a signal handler reinvoke signal()?  */
#define has_seteuid 0 /* Does seteuid() obey Posix 1003.1-1990?  */
#define has_sigaction 0 /* Does struct sigaction work?  */
#define has_sigblock 1 /* Does sigblock() work?  */
#define has_sys_siglist 1 /* Does sys_siglist[] work?  */
#define exit_type void /* type returned by exit() */
#define underscore_exit_type void /* type returned by _exit() */
typedef size_t fread_type; /* type returned by fread() and fwrite() */
typedef void *malloc_type; /* type returned by malloc() */
#define free_type void /* type returned by free() */
typedef size_t strlen_type; /* type returned by strlen() */
#define has_getcwd 0 /* Does getcwd() work?  */
#define has_getwd 1 /* Does getwd() work?  */
#define has_vfork 1 /* Does vfork() work?  */
#define has_vfprintf 1 /* Does vfprintf() work?  */
#define CO "/usr/local/bin/co" /* name of 'co' program */
#define COMPAT2 0 /* Are version 2 files supported?  */
#define DATEFORM "%.2d.%.2d.%.2d.%.2d.%.2d.%.2d" /* e.g. 01.01.01.01.01.01 */
#define DIFF "/usr/local/bin/diff" /* name of 'diff' program */
#define DIFF_FLAGS , "-an" /* Make diff output suitable for RCS.  */
#define DIFF_L 1 /* Does diff -L work? */
#define EXECRCS execv /* variant of execv() to use on subprograms */
#define MERGE "/usr/local/bin/merge" /* name of 'merge' program */
#define RCSDIR "RCS/" /* subdirectory for RCS files */
#define SLASH '/' /* path name separator */
#define TMPDIR "/tmp/" /* default directory for temporary files */
#define DIFF_PATH_HARDWIRED 1 /* Is DIFF absolute, not relative?  */
#define ROOTPATH(p) ((p)[0]==SLASH)
#define RCSSEP ',' /* separator for RCSSUF */
#define SENDMAIL "/bin/mail" /* how to send mail */
#if 1 /* These agree with <stdio.h>.  */
	int fprintf P((FILE*,const char*,...));
	int printf P((const char*,...));
#	if has_vfprintf
	   extern int vfprintf(FILE *stream, const char *format, va_list arg);
#	else
		void _doprnt P((const char*,...));
#	endif
#endif
/* char *sprintf P((char*,const char*,...)); */
int chmod P((const char*,mode_t));
int fcntl P((int,int,...));
int open P((const char*,int,...));
mode_t umask P((mode_t));
/* pid_t wait P((int*)); */
#ifndef O_CREAT
	int creat P((const char*,mode_t));
#endif
#if has_seteuid
	int setegid P((gid_t));
	int seteuid P((uid_t));
#endif

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.