/* Copyright (c) 1993 Xerox Corporation. All rights reserved. */ /* $Id$ $Date$ * * PCR OS description */ #ifndef __PCR_OS_h #define __PCR_OS_h 1 /* * OS names -- define the one(s) that apply. */ #define PCR_OS_OS2 1 #define PCR_OS_name "OS2" /* * * Dimensions of "generic" OS variation ... * */ /* * I/O */ /* the evil-but-ubiquitous ioctl */ #define PCR_OS_IOCTL 0 /* standard SV poll */ #define PCR_OS_POLL 0 # define PCR_OS_ENOSTR 0 /* standard BSD select */ #define PCR_OS_SELECT 0 /* generate SIGPOLL on I/O ready */ #define PCR_OS_SIGPOLL 0 # define PCR_OS_IOCTL_SETSIG 0 /* generate SIGIO on I/O ready */ #define PCR_OS_SIGIO 0 # define PCR_OS_FCNTL_FASYNC 0 # define PCR_OS_FCNTL_F_SETOWN 0 /* has SIGURG -- treat this like SIGIO/SIGPOLL */ #define PCR_OS_SIGURG 0 /* has non-POSIX error produced by some non-blocking I/O */ /* (must be numerically distinct from EAGAIN) */ #define PCR_OS_EWOULDBLOCK 0 /* has (f)sync */ #define PCR_OS_SYNC 0 #define PCR_OS_FSYNC 0 /* has fchmod */ #define PCR_OS_FCHMOD 0 /* has fchown */ #define PCR_OS_FCHOWN 0 /* has (f)truncate */ #define PCR_OS_TRUNCATE 0 #define PCR_OS_FTRUNCATE 0 /* has symbolic links */ #define PCR_OS_SYMLINK 0 #define PCR_OS_READLINK 0 # define PCR_OS_ELOOP 0 /* has BSD compatible socket interface */ #define PCR_OS_SOCKET 0 # define PCR_OS_EINPROGRESS 0 # define PCR_OS_EALREADY 0 # define PCR_OS_EISCONN 0 /* Sys V streams stuff */ #define PCR_OS_STREAMS 0 /* * job control */ /* can generate SIGCHLD on child termination */ #define PCR_OS_SIGCHLD 0 /* * shared memory / protection */ /* fixed page size */ #define PCR_OS_PAGESIZE 0 /* dynamic page size */ #define PCR_OS_GETPAGESIZE 0 #define PCR_OS_SC_PAGESIZE 0 /* BSD shm stuff */ #define PCR_OS_MPROTECT 0 #define PCR_OS_MMAP 0 /* Sys V shm stuff */ #define PCR_OS_SHMOPS 0 /* * allowable stack location */ #define PCR_OS_SP_IN_HEAP 1 /* * timer */ #define PCR_OS_ITIMER 0 /* should implement use of POSIX real time stuff preferentially */ /* * strerror */ #define PCR_OS_STRERROR 0 /* * symbol name conventions */ #define PCR_OS_CSYMCVT_ID 0 /* ld symbol identical to C external */ #define PCR_OS_CSYMCVT_PREPEND__ 0 /* ld symbol is C external prefixed by '_' */ #endif /* !__PCR_OS_h */ /* $Log$ */