1 /* 2 * Copyright (c) 1992-1998 Michael A. Cooper. 3 * This software may be freely used and distributed provided it is not 4 * sold for profit or used in part or in whole for commercial gain 5 * without prior written agreement, and the author is credited 6 * appropriately. 7 */ 8 9 /* 10 * $Id: config-def.h,v 6.13 1998/11/10 03:59:47 mcooper Exp $ 11 * @(#)configdef.h 12 */ 13 14 #ifndef __configdef_h__ 15 #define __configdef_h__ 16 17 /* 18 * Configuration definetions 19 */ 20 21 /* 22 * Types of wait() functions 23 */ 24 #define WAIT_WAIT3 1 25 #define WAIT_WAITPID 2 26 27 /* 28 * Types of directory routines 29 */ 30 #define DIR_DIRECT 1 31 #define DIR_DIRENT 2 32 33 /* 34 * Types of filesystem info routines 35 */ 36 #define FSI_GETFSSTAT 1 37 #define FSI_GETMNT 2 38 #define FSI_MNTCTL 3 39 #define FSI_GETMNTENT 4 40 41 /* 42 * Types of non-blocking I/O. 43 */ 44 #define NBIO_FCNTL 1 45 #define NBIO_IOCTL 2 46 47 /* 48 * Types of executable formats 49 */ 50 #define EXE_AOUT 1 51 #define EXE_COFF 2 52 #define EXE_MACHO 3 53 #define EXE_HPEXEC 4 54 #define EXE_ELF 5 55 #define EXE_ELF_AND_COFF 6 56 57 /* 58 * Types of set filetime functions 59 */ 60 #define SETFTIME_UTIMES 1 /* Have utimes() */ 61 #define SETFTIME_UTIME 2 /* Have utime() */ 62 63 /* 64 * Types of statfs() calls 65 */ 66 #define STATFS_BSD 1 67 #define STATFS_SYSV 2 68 #define STATFS_OSF1 3 69 70 /* 71 * Arg types 72 */ 73 #define ARG_VARARGS 1 74 #define ARG_STDARG 2 75 76 /* 77 * Set buffering types 78 */ 79 #define SETBUF_SETLINEBUF 1 80 #define SETBUF_SETVBUF 2 81 82 /* 83 * Socket Pair types 84 */ 85 #define SOCKPAIR_SOCKETPAIR 1 86 #define SOCKPAIR_SPIPE 2 87 88 #endif /* __configdef_h__ */ 89