# @(#)conf/os/ultrix1.2 1.5 8/8/92 18:42:43 # # ultrix1.2 - define the characteristics of DEC Ultrix release 1.2 # OSNAMES - Names defining this operating system OSNAMES=UNIX_ULTRIX1_2:UNIX_ULTRIX:UNIX_BSD4_2:UNIX_BSD:UNIX # LOCKING_PROTOCOL - macros for efficient file locking LOCKING_PROTOCOL="\ #define lock_fd(fd) (flock((fd), LOCK_EX|LOCK_NB) < 0? FAIL: SUCCEED) #define lock_fd_wait(fd) (flock((fd), LOCK_EX) < 0? FAIL: SUCCEED) #define unlock_fd(fd) ((void) flock((fd), LOCK_UN)) #define unlock_fd_wait(fd) ((void) flock((fd), LOCK_UN)) #define lock_fd_rd_wait(fd) (flock((fd), LOCK_SH) < 0? FAIL: SUCCEED) " # MAILBOX_DIR - in which directory are user mailbox files MAILBOX_DIR=/usr/spool/mail # CONSOLE - name of the console device file CONSOLE=/dev/console # DECLARE_STRINGS - declare string routines, using macros as needed DECLARE_STRINGS="\ #include #define memcpy(s1,s2,n) (bcopy((s2),(s1),(n))) #define memcmp(s1,s2,n) (bcmp((s1),(s2),(n))) /* the following are defined in string.c */ extern char *strpbrk(); extern int strspn(); " # SECURE_PATH - directories containing system-supplied user programs SECURE_PATH=/usr/ucb:/bin:/usr/bin # OSLIBS - name any object libraries containing routines we will need OSLIBS=-ldbm # DRIVER_CONFIGURATION - configuration file describing smail drivers DRIVER_CONFIGURATION=bsd-network # RANLIB - how do we organize an existing object archive library RANLIB=ranlib # CHOWN - command to use for accessing the chown program CHOWN=/etc/chown # HAVE - what features should be used with this operating system HAVE=RENAME:MKDIR:BSD_NETWORKING:SYSEXITS:BSTRING:SYS5STRLIB HAVE=$HAVE:GETHOSTNAME:HASH_BANG:DUP2:READDIR:FSYNC # MISC_DEFINES - miscellaneous definitions # # The INET_ADDR_USE_STRUCT may be incorrect. There was some debate # about this some time ago, but nobody ever sent mail indicating # the resolution, and I have never worked with Ultrix. MISC_DEFINES=INET_ADDR_USE_STRUCT # UUCP_SYSTEM_FILE - path to UUCP file containing remote systems UUCP_SYSTEM_FILE=/usr/lib/uucp/L.sys