Page 21 of 25 FirstFirst ... 11171819202122232425 LastLast
Results 501 to 525 of 604
  1. #501
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if defined ISO11
    type mbstate_t
    type size_t
    type char16_t
    type char32_t

    function size_t mbrtoc16 (char16_t *, const char *, size_t, mbstate_t *)
    function size_t c16rtomb (char *, char16_t, mbstate_t *)
    function size_t mbrtoc32 (char32_t *, const char *, size_t, mbstate_t *)
    function size_t c32rtomb (char *, char32_t, mbstate_t *)

    #endif

  2. #502
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    type mcontext_t

    type ucontext_t

    element ucontext_t {ucontext_t*} uc_link
    element ucontext_t sigset_t uc_sigmask
    element ucontext_t stack_t uc_stack
    element ucontext_t mcontext_t uc_mcontext

    type sigset_t
    type stack_t

    function int getcontext (ucontext_t*)
    function int setcontext (const ucontext_t*)
    function void makecontext (ucontext_t*, void(*)(void), int, ...)
    function int swapcontext (ucontext_t*, const ucontext_t*)

    allow uc_*
    allow ss_*
    allow *_t
    #endif

  3. #503
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    constant UL_GETFSIZE
    constant UL_SETFSIZE

    function {long int} ulimit (int, ...)

    allow UL_*
    allow *_t
    #endif

  4. #504
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11
    #ifdef POSIX
    # define uid_t __uid_t
    # define gid_t __gid_t
    # define off_t __off_t
    # define pid_t __pid_t
    #endif

    optional-constant _POSIX_VERSION
    optional-constant _POSIX2_C_VERSION
    optional-constant _XOPEN_VERSION
    optional-constant _XOPEN_XCU_VERSION

    optional-constant _POSIX2_C_BIND
    optional-constant _POSIX2_CHAR_TERM
    optional-constant _POSIX2_LOCALEDEF
    optional-constant _POSIX2_UPE
    optional-constant _POSIX2_VERSION

    optional-constant _XOPEN_XPG2
    optional-constant _XOPEN_XPG3
    optional-constant _XOPEN_XPG4
    optional-constant _XOPEN_UNIX

    optional-constant _POSIX_ADVISORY_INFO
    optional-constant _POSIX_ASYNCHRONOUS_IO
    optional-constant _POSIX_BARRIERS
    optional-constant _POSIX_CHOWN_RESTRICTED
    optional-constant _POSIX_CLOCK_SELECTION
    optional-constant _POSIX_CPUTIME
    optional-constant _POSIX_NO_TRUNC
    optional-constant _POSIX_VDISABLE
    optional-constant _POSIX_SAVED_IDS
    optional-constant _POSIX_JOB_CONTROL
    optional-constant _POSIX_MONOTONIC_CLOCK
    optional-constant _POSIX_READER_WRITER_LOCKS
    optional-constant _POSIX_S
    optional-constant _POSIX_SPAWN
    optional-constant _POSIX_SPIN_LOCKS
    optional-constant _POSIX_SPORADIC_SERVER
    optional-constant _POSIX_THREAD_CPUTIME
    optional-constant _POSIX_TYPED_MEMORY_OBJECTS

    optional-constant _POSIX_THREADS
    optional-constant _POSIX_THREAD_ATTR_STACKADDR
    optional-constant _POSIX_THREAD_ATTR_STACKSIZE
    optional-constant _POSIX_THREAD_PROCESS_SHARED
    optional-constant _POSIX_THREAD_SAFE_FUNCTIONS
    optional-constant _POSIX_THREAD_SPORADIC_SERVER

    # ifdef XOPEN2K
    optional-constant _POSIX_V6_ILP32_OFF32
    optional-constant _POSIX_V6_ILP32_OFFBIG
    optional-constant _POSIX_V6_LP64_OFF64
    optional-constant _POSIX_V6_LPBIG_OFFBIG
    # endif
    # if defined XOPEN2K8 || defined POSIX2008
    optional-constant _POSIX_V7_ILP32_OFF32
    optional-constant _POSIX_V7_ILP32_OFFBIG
    optional-constant _POSIX_V7_LP64_OFF64
    optional-constant _POSIX_V7_LPBIG_OFFBIG
    # endif

    optional-constant _POSIX2_C_DEV
    optional-constant _POSIX2_FORT_DEV
    optional-constant _POSIX2_FORT_RUN
    optional-constant _POSIX2_SW_DEV
    # if !defined POSIX && !defined POSIX2008
    optional-constant _XOPEN_CRYPT
    optional-constant _XOPEN_ENH_I18N
    optional-constant _XOPEN_LEGACY
    optional-constant _XOPEN_REALTIME
    optional-constant _XOPEN_REALTIME_THREADS
    optional-constant _XOPEN_SHM
    optional-constant _XOPEN_STREAMS
    # endif
    allow _XBS5_ILP32_OFF32
    allow _XBS5_ILP32_OFBIG
    allow _XBS5_LP64_OFF64
    allow _XBS5_LPBIG_OFFBIG
    optional-constant _POSIX_ASYNCHRONOUS_IO
    optional-constant _POSIX_MEMLOCK
    optional-constant _POSIX_MEMLOCK_RANGE
    optional-constant _POSIX_MESSAGE_PASSING
    optional-constant _POSIX_PRIORITY_SCHEDULING
    optional-constant _POSIX_REALTIME_SIGNALS
    optional-constant _POSIX_SEMAPHORES
    optional-constant _POSIX_SHARED_MEMORY_OBJECTS
    optional-constant _POSIX_SYNCHRONIZED_IO
    optional-constant _POSIX_TIMERS
    optional-constant _POSIX_TIMEOUTS

    optional-constant _POSIX_FSYNC
    optional-constant _POSIX_MAPPED_FILES
    optional-constant _POSIX_MEMORY_PROTECTION

    optional-constant _POSIX_PRIORITIZED_IO

    optional-constant _POSIX_THREAD_PRIORITY_SCHEDULING
    optional-constant _POSIX_THREAD_PRIO_INHERIT
    optional-constant _POSIX_THREAD_PRIO_PROTECT

    optional-constant _POSIX_ASYNC_IO
    optional-constant _POSIX_PRIO_IO
    optional-constant _POSIX_SYNC_IO

    optional-constant _POSIX2_PBS
    optional-constant _POSIX2_PBS_ACCOUNTING
    optional-constant _POSIX2_PBS_CHECKPOINT
    optional-constant _POSIX2_PBS_LOCATE
    optional-constant _POSIX2_PBS_MESSAGE
    optional-constant _POSIX2_PBS_TRACK

    optional-constant _POSIX_TIMESTAMP_RESOLUTION

    constant NULL

    constant R_OK
    constant W_OK
    constant X_OK
    constant F_OK

    constant _CS_PATH
    constant _CS_XBS5_ILP32_OFF32_CFLAGS
    constant _CS_XBS5_ILP32_OFF32_LDFLAGS
    constant _CS_XBS5_ILP32_OFF32_LIBS
    constant _CS_XBS5_ILP32_OFF32_LINTFLAGS
    constant _CS_XBS5_ILP32_OFFBIG_CFLAGS
    constant _CS_XBS5_ILP32_OFFBIG_LDFLAGS
    constant _CS_XBS5_ILP32_OFFBIG_LIBS
    constant _CS_XBS5_ILP32_OFFBIG_LINTFLAGS
    constant _CS_XBS5_LP64_OFF64_CFLAGS
    constant _CS_XBS5_LP64_OFF64_LDFLAGS
    constant _CS_XBS5_LP64_OFF64_LIBS
    constant _CS_XBS5_LP64_OFF64_LINTFLAGS
    constant _CS_XBS5_LPBIG_OFFBIG_CFLAGS
    constant _CS_XBS5_LPBIG_OFFBIG_LDFLAGS
    constant _CS_XBS5_LPBIG_OFFBIG_LIBS
    constant _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS

    constant SEEK_SET
    constant SEEK_CUR
    constant SEEK_END

    constant _SC_2_C_BIND
    constant _SC_2_C_DEV
    constant _SC_2_C_VERSION
    constant _SC_2_FORT_DEV
    constant _SC_2_FORT_RUN
    constant _SC_2_LOCALEDEF
    constant _SC_2_PBS
    constant _SC_2_PBS_ACCOUNTING
    constant _SC_2_PBS_CHECKPOINT
    constant _SC_2_PBS_LOCATE
    constant _SC_2_PBS_MESSAGE
    constant _SC_2_PBS_TRACK
    constant _SC_2_SW_DEV
    constant _SC_2_UPE
    constant _SC_2_VERSION
    constant _SC_ARG_MAX
    constant _SC_AIO_LISTIO_MAX
    constant _SC_AIO_MAX
    constant _SC_AIO_PRIO_DELTA_MAX
    constant _SC_ASYNCHRONOUS_IO
    constant _SC_ATEXIT_MAX
    constant _SC_BARRIERS
    constant _SC_BASE
    constant _SC_BC_BASE_MAX
    constant _SC_BC_DIM_MAX
    constant _SC_BC_SCALE_MAX
    constant _SC_BC_STRING_MAX
    constant _SC_CHILD_MAX
    constant _SC_CLK_TCK
    constant _SC_CLOCK_SELECTION
    constant _SC_COLL_WEIGHTS_MAX
    constant _SC_DELAYTIMER_MAX
    constant _SC_DEVICE_IO
    constant _SC_DEVICE_SPECIFIC
    constant _SC_DEVICE_SPECIFIC_R
    constant _SC_EXPR_NEST_MAX
    constant _SC_FD_MGMT
    constant _SC_FIFO
    constant _SC_FILE_ATTRIBUTES
    constant _SC_FILE_LOCKING
    constant _SC_FILE_SYSTEM
    constant _SC_FSYNC
    constant _SC_GETGR_R_SIZE_MAX
    constant _SC_GETPW_R_SIZE_MAX
    constant _SC_IOV_MAX
    constant _SC_JOB_CONTROL
    constant _SC_LINE_MAX
    constant _SC_LOGIN_NAME_MAX
    constant _SC_MAPPED_FILES
    constant _SC_MEMLOCK
    constant _SC_MEMLOCK_RANGE
    constant _SC_MEMORY_PROTECTION
    constant _SC_MESSAGE_PASSING
    constant _SC_MONOTONIC_CLOCK
    constant _SC_MQ_OPEN_MAX
    constant _SC_MQ_PRIO_MAX
    constant _SC_NETWORKING
    constant _SC_NGROUPS_MAX
    constant _SC_OPEN_MAX
    constant _SC_PAGESIZE
    constant _SC_PAGE_SIZE
    constant _SC_PASS_MAX
    constant _SC_PIPE
    constant _SC_PRIORITIZED_IO
    constant _SC_PRIORITY_SCHEDULING
    constant _SC_RE_DUP_MAX
    constant _SC_READER_WRITER_LOCKS
    constant _SC_REALTIME_SIGNALS
    constant _SC_REGEXP
    constant _SC_RTSIG_MAX
    constant _SC_SAVED_IDS
    constant _SC_SEMAPHORES
    constant _SC_SEM_NSEMS_MAX
    constant _SC_SEM_VALUE_MAX
    constant _SC_SHARED_MEMORY_OBJECTS
    constant _SC_S
    constant _SC_SIGNALS
    constant _SC_SIGQUEUE_MAX
    constant _SC_SINGLE_PROCESS
    constant _SC_SPIN_LOCKS
    constant _SC_STREAM_MAX
    constant _SC_SYNCHRONIZED_IO
    constant _SC_THREADS
    constant _SC_THREAD_ATTR_STACKADDR
    constant _SC_THREAD_ATTR_STACKSIZE
    constant _SC_THREAD_DESTRUCTOR_ITERATIONS
    constant _SC_THREAD_KEYS_MAX
    constant _SC_THREAD_PRIORITY_SCHEDULING
    constant _SC_THREAD_PRIO_INHERIT
    constant _SC_THREAD_PRIO_PROTECT
    constant _SC_THREAD_PROCESS_SHARED
    constant _SC_THREAD_SAFE_FUNCTIONS
    constant _SC_THREAD_STACK_MIN
    constant _SC_THREAD_THREADS_MAX
    constant _SC_TIMERS
    constant _SC_TIMER_MAX
    constant _SC_TTY_NAME_MAX
    constant _SC_TYPED_MEMORY_OBJECTS
    constant _SC_TZNAME_MAX
    constant _SC_USER_GROUPS
    constant _SC_USER_GROUPS_R
    # ifdef XOPEN2K
    constant _SC_V6_ILP32_OFF32
    constant _SC_V6_ILP32_OFFBIG
    constant _SC_V6_LP64_OFF64
    constant _SC_V6_LPBIG_OFFBIG
    # endif
    # if defined XOPEN2K8 || defined POSIX2008
    constant _SC_V7_ILP32_OFF32
    constant _SC_V7_ILP32_OFFBIG
    constant _SC_V7_LP64_OFF64
    constant _SC_V7_LPBIG_OFFBIG
    # endif
    constant _SC_VERSION
    # if !defined POSIX && !defined POSIX2008
    constant _SC_XOPEN_VERSION
    constant _SC_XOPEN_CRYPT
    constant _SC_XOPEN_ENH_I18N
    constant _SC_XOPEN_SHM
    constant _SC_XOPEN_UNIX
    constant _SC_XOPEN_XCU_VERSION
    constant _SC_XOPEN_LEGACY
    constant _SC_XOPEN_REALTIME
    constant _SC_XOPEN_REALTIME_THREADS
    # endif
    constant _SC_STREAMS
    constant _SC_XBS5_ILP32_OFF32
    constant _SC_XBS5_ILP32_OFFBIG
    constant _SC_XBS5_LP64_OFF64
    constant _SC_XBS5_LPBIG_OFFBIG
    # ifdef XOPEN2K
    constant _CS_POSIX_V6_ILP32_OFF32_CFLAGS
    constant _CS_POSIX_V6_ILP32_OFF32_LDFLAGS
    constant _CS_POSIX_V6_ILP32_OFF32_LIBS
    constant _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS
    constant _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS
    constant _CS_POSIX_V6_ILP32_OFFBIG_LIBS
    constant _CS_POSIX_V6_LP64_OFF64_CFLAGS
    constant _CS_POSIX_V6_LP64_OFF64_LDFLAGS
    constant _CS_POSIX_V6_LP64_OFF64_LIBS
    constant _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
    constant _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
    constant _CS_POSIX_V6_LPBIG_OFFBIG_LIBS
    constant _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS
    constant _CS_V6_ENV
    # endif
    # if defined XOPEN2K8 || defined POSIX2008
    constant _CS_POSIX_V7_ILP32_OFF32_CFLAGS
    constant _CS_POSIX_V7_ILP32_OFF32_LDFLAGS
    constant _CS_POSIX_V7_ILP32_OFF32_LIBS
    constant _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
    constant _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
    constant _CS_POSIX_V7_ILP32_OFFBIG_LIBS
    constant _CS_POSIX_V7_LP64_OFF64_CFLAGS
    constant _CS_POSIX_V7_LP64_OFF64_LDFLAGS
    constant _CS_POSIX_V7_LP64_OFF64_LIBS
    constant _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
    constant _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
    constant _CS_POSIX_V7_LPBIG_OFFBIG_LIBS
    constant _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS
    constant _CS_V7_ENV
    # endif
    constant _SC_THREAD_ROBUST_PRIO_INHERIT
    constant _SC_THREAD_ROBUST_PRIO_PROTECT

    #if !defined POSIX && !defined POSIX2008
    constant F_LOCK
    constant F_ULOCK
    constant F_TEST
    constant F_TLOCK
    #endif

    constant _PC_ASYNC_IO
    constant _PC_CHOWN_RESTRICTED
    constant _PC_FILESIZEBITS
    constant _PC_LINK_MAX
    constant _PC_MAX_CANON
    constant _PC_MAX_INPUT
    constant _PC_NAME_MAX
    constant _PC_NO_TRUNC
    constant _PC_PATH_MAX
    constant _PC_PIPE_BUF
    constant _PC_PRIO_IO
    constant _PC_REC_INCR_XFER_SIZE
    constant _PC_REC_MAX_XFER_SIZE
    constant _PC_REC_MIN_XFER_SIZE
    constant _PC_REC_XFER_ALIGN
    constant _PC_SYNC_IO
    constant _PC_VDISABLE

    constant STDIN_FILENO
    constant STDOUT_FILENO
    constant STDERR_FILENO

    type size_t
    type ssize_t
    type uid_t
    type gid_t
    type off_t
    type pid_t

    #if !defined POSIX
    type useconds_t

    type intptr_t
    #endif

    function int access (const char*, int)
    function {unsigned int} alarm (unsigned int)
    #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
    function int brk (void*)
    #endif
    function int chdir (const char*)
    #if defined XPG3 || defined XPG4 || defined UNIX98
    function int chroot (const char*)
    #endif
    function int chown (const char*, uid_t, gid_t)
    function int close (int)
    function size_t confstr (int, char*, size_t)
    #if !defined POSIX && !defined POSIX2008
    function {char*} crypt (const char*, const char*)
    #endif
    #if defined XPG3 || defined XPG4 || defined UNIX98
    function {char*} ctermid (char*)
    function {char*} cuserid (char*)
    #endif
    function int dup (int)
    function int dup2 (int, int)
    #if !defined POSIX && !defined POSIX2008
    function void encrypt (char[64], int)
    #endif
    function int execl (const char*, const char*, ...)
    function int execle (const char*, const char*, ...)
    function int execlp (const char*, const char*, ...)
    function int execv (const char*, char *const[])
    function int execve (const char*, char *const[], char *const[])
    function int execvp (const char*, char *const[])
    function void _exit (int)
    # if defined XOPEN2K8 || defined POSIX2008
    function int faccessat (int, const char*, int, int)
    # endif
    #if !defined POSIX
    function int fchown (int, uid_t, gid_t)
    #endif
    # if defined XOPEN2K8 || defined POSIX2008
    function int fchownat (int, const char*, uid_t, gid_t, int)
    # endif
    #ifndef POSIX
    function int fchdir (int)
    #endif
    #if !defined XPG3 && !defined XPG4
    function int fdatasync (int)
    #endif
    # if defined XOPEN2K8 || defined POSIX2008
    function int fexecve (int, char *const[], char *const[])
    # endif
    function pid_t fork (void)
    function {long int} fpathconf (int, int)
    function int fsync (int)
    function int ftruncate (int, off_t)
    function {char*} getcwd (char*, size_t)
    #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
    function int getdtablesize (void)
    #endif
    function gid_t getegid (void)
    function uid_t geteuid (void)
    function gid_t getgid (void)
    function int getgroups (int, gid_t[])
    #if !defined POSIX && !defined POSIX2008
    function long gethostid (void)
    #endif
    #if !defined POSIX
    function int gethostname (char*, size_t)
    #endif
    function {char*} getlogin (void)
    #if !defined XPG3 && !defined XPG4
    function int getlogin_r (char*, size_t)
    #endif
    function int getopt (int, char*const[], const char*)
    #if defined XPG3 || defined XPG4 || defined UNIX98
    function int getpagesize (void)
    function {char*} getpass (const char*)
    #endif
    #ifndef POSIX
    function pid_t getpgid (pid_t)
    #endif
    function pid_t getpgrp (void)
    function pid_t getpid (void)
    function pid_t getppid (void)
    #ifndef POSIX
    function pid_t getsid (pid_t)
    #endif
    function uid_t getuid (void)
    #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
    function {char*} getwd (char*)
    #endif
    function int isatty (int)
    #ifndef POSIX
    function int lchown (const char*, uid_t, gid_t)
    #endif
    function int link (const char*, const char*)
    # if defined XOPEN2K8 || defined POSIX2008
    function int linkat (int, const char*, int, const char*, int)
    # endif
    # if !defined POSIX && !defined POSIX2008
    function int lockf (int, int, off_t)
    # endif
    function off_t lseek (int, off_t, int)
    # if !defined POSIX && !defined POSIX2008
    function int nice (int)
    # endif
    function {long int} pathconf (const char*, int)
    function int pause (void)
    function int pipe (int[2])
    #if !defined POSIX && !defined XPG3 && !defined XPG4
    function ssize_t pread (int, void*, size_t, off_t)
    #endif
    #if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 && !defined XPG3 && !defined XPG4
    function int pthread_atfork (void(*)(void), void(*)(void), void(*)(void))
    #endif
    #if !defined POSIX && !defined XPG3 && !defined XPG4
    function ssize_t pwrite (int, const void*, size_t, off_t)
    #endif
    function ssize_t read (int, void*, size_t)
    #ifndef POSIX
    function ssize_t readlink (const char*, char*, size_t)
    #endif
    # if defined XOPEN2K8 || defined POSIX2008
    function ssize_t readlinkat (int, const char*, char*, size_t)
    # endif
    function int rmdir (const char*)
    #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
    function {void*} sbrk (intptr_t)
    #endif
    #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function int setegid (gid_t)
    function int seteuid (uid_t)
    #endif
    function int setgid (gid_t)
    function int setpgid (pid_t, pid_t)
    # if !defined POSIX && !defined POSIX2008
    function pid_t setpgrp (void)
    function int setregid (gid_t, gid_t)
    function int setreuid (uid_t, uid_t)
    # endif
    function pid_t setsid (void)
    function int setuid (uid_t)
    function {unsigned int} sleep (unsigned int)
    # if !defined POSIX && !defined POSIX2008
    function void swab (const void*, void*, ssize_t)
    # endif
    #ifndef POSIX
    function int symlink (const char*, const char*)
    # endif
    # if defined XOPEN2K8 || defined POSIX2008
    function int symlinkat (const char*, int, const char*)
    # endif
    # if !defined POSIX && !defined POSIX2008
    function void sync (void)
    # endif
    function {long int} sysconf (int)
    function pid_t tcgetpgrp (int)
    function int tcsetpgrp (int, pid_t)
    #ifndef POSIX
    function int truncate (const char*, off_t)
    #endif
    function {char*} ttyname (int)
    function int ttyname_r (int, char*, size_t)
    #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
    function useconds_t ualarm (useconds_t, useconds_t)
    #endif
    function int unlink (const char*)
    # if defined XOPEN2K8 || defined POSIX2008
    function int unlinkat (int, const char*, int)
    # endif
    #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
    function int usleep (useconds_t)
    function pid_t vfork (void)
    #endif
    function ssize_t write (int, const void*, size_t)

    variable {char*} optarg
    variable int optind
    variable int opterr
    variable int optopt

    allow *_t
    #endif

  5. #505
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11
    #ifdef POSIX
    # define time_t __time_t
    #endif

    type {struct utimbuf}

    element {struct utimbuf} time_t actime
    element {struct utimbuf} time_t modtime

    type time_t

    function int utime (const char*, const struct utimbuf*)

    allow utim_*
    allow *_t
    #endif

  6. #506
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    type {struct utmpx}

    element {struct utmpx} char ut_user []
    element {struct utmpx} char ut_id []
    element {struct utmpx} char ut_line []
    element {struct utmpx} pid_t ut_pid
    element {struct utmpx} {short int} ut_type
    element {struct utmpx} {struct timeval} ut_tv

    type pid_t

    type {struct timeval}

    element {struct timeval} time_t tv_sec
    element {struct timeval} suseconds_t tv_usec

    constant EMPTY
    constant BOOT_TIME
    constant OLD_TIME
    constant NEW_TIME
    constant USER_PROCESS
    constant INIT_PROCESS
    constant LOGIN_PROCESS
    constant DEAD_PROCESS

    function void endutxent (void)
    function {struct utmpx*} getutxent (void)
    function {struct utmpx*} getutxid (const struct utmpx*)
    function {struct utmpx*} getutxline (const struct utmpx*)
    function {struct utmpx*} pututxline (const struct utmpx*)
    function void setutxent (void)

    allow-header sys/time.h

    allow ut_*
    allow *_t
    #endif

  7. #507
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if defined XPG3 || defined XPG4
    macro va_alist
    macro va_dcl
    type va_list
    macro va_start
    macro va_arg
    macro va_end

    allow *_t
    #endif

  8. #508
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4
    type wchar_t
    type wint_t
    # if !defined ISO99 && !defined ISO11 && !defined POSIX2008
    type wctype_t
    # endif
    type mbstate_t
    # if !defined ISO99 && !defined ISO11
    type FILE
    # else
    # define FILE __FILE
    # endif
    type size_t
    # if defined XOPEN2K8 || defined POSIX2008
    type locale_t
    # endif
    tag {struct tm}

    function wint_t btowc (int)
    function int fwprintf (FILE*, const wchar_t*, ...)
    function int fwscanf (FILE*, const wchar_t*, ...)
    # if !defined ISO99 && !defined ISO11 && !defined POSIX2008
    function int iswalnum (wint_t)
    function int iswalpha (wint_t)
    function int iswcntrl (wint_t)
    function int iswdigit (wint_t)
    function int iswgraph (wint_t)
    function int iswlower (wint_t)
    function int iswprint (wint_t)
    function int iswpunct (wint_t)
    function int iswspace (wint_t)
    function int iswupper (wint_t)
    function int iswxdigit (wint_t)
    function int iswctype (wint_t, wctype_t)
    # endif
    function wint_t fgetwc (FILE*)
    function {wchar_t*} fgetws (wchar_t*, int, FILE*)
    function wint_t fputwc (wchar_t, FILE*)
    function int fputws (const wchar_t*, FILE*)
    function int fwide (FILE*, int)
    function wint_t getwc (FILE*)
    function wint_t getwchar (void)
    function int mbsinit (const mbstate_t*)
    function size_t mbrlen (const char*, size_t, mbstate_t*)
    function size_t mbrtowc (wchar_t*, const char*, size_t, mbstate_t*)
    # if defined XOPEN2K8 || defined POSIX2008
    function size_t mbsnrtowcs (wchar_t*, const char**, size_t, size_t, mbstate_t*)
    # endif
    function size_t mbsrtowcs (wchar_t*, const char**, size_t, mbstate_t*)
    # if defined XOPEN2K8 || defined POSIX2008
    function {FILE*} open_wmemstream (wchar_t**, size_t*)
    # endif
    function wint_t putwc (wchar_t, FILE*)
    function wint_t putwchar (wchar_t)
    function int swprintf (wchar_t*, size_t, const wchar_t*, ...)
    function int swscanf (const wchar_t*, const wchar_t*, ...)
    # if !defined ISO99 && !defined ISO11 && !defined POSIX2008
    function wint_t towlower (wint_t)
    function wint_t towupper (wint_t)
    # endif
    function wint_t ungetwc (wint_t, FILE*)
    function int vfwprintf (FILE*, const wchar_t*, __gnuc_va_list)
    # ifndef UNIX98
    function int vfwscanf (FILE*, const wchar_t*, __gnuc_va_list)
    # endif
    function int vwprintf (const wchar_t*, __gnuc_va_list)
    # ifndef UNIX98
    function int vwscanf (const wchar_t*, __gnuc_va_list)
    # endif
    function int vswprintf (wchar_t*, size_t, const wchar_t*, __gnuc_va_list)
    # ifndef UNIX98
    function int vswscanf (const wchar_t*, const wchar_t*, __gnuc_va_list)
    # endif
    # if defined XOPEN2K8 || defined POSIX2008
    function {wchar_t*} wcpcpy (wchar_t*, const wchar_t*)
    function {wchar_t*} wcpncpy (wchar_t*, const wchar_t*, size_t)
    # endif
    function size_t wcrtomb (char*, wchar_t, mbstate_t*)
    # if defined XOPEN2K8 || defined POSIX2008
    function int wcscasecmp(const wchar_t*, const wchar_t*)
    function int wcscasecmp_l(const wchar_t*, const wchar_t*, locale_t)
    # endif
    function {wchar_t*} wcscat (wchar_t*, const wchar_t*)
    function {wchar_t*} wcschr (const wchar_t*, wchar_t)
    function int wcscmp (const wchar_t*, const wchar_t*)
    function int wcscoll (const wchar_t*, const wchar_t*)
    # if defined XOPEN2K8 || defined POSIX2008
    function int wcscoll_l (const wchar_t*, const wchar_t*, locale_t)
    # endif
    function {wchar_t*} wcscpy (wchar_t*, const wchar_t*)
    function size_t wcscspn (const wchar_t*, const wchar_t*)
    # if defined XOPEN2K8 || defined POSIX2008
    function {wchar_t*} wcsdup (const wchar_t*)
    # endif
    function size_t wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*)
    function size_t wcslen (const wchar_t*)
    # if defined XOPEN2K8 || defined POSIX2008
    function int wcsncasecmp (const wchar_t*, const wchar_t*, size_t)
    function int wcsncasecmp_l (const wchar_t*, const wchar_t*, size_t, locale_t)
    # endif
    function {wchar_t*} wcsncat (wchar_t*, const wchar_t*, size_t)
    function int wcsncmp (const wchar_t*, const wchar_t*, size_t)
    function {wchar_t*} wcsncpy (wchar_t*, const wchar_t*, size_t)
    # if defined XOPEN2K8 || defined POSIX2008
    function size_t wcsnlen (const wchar_t*, size_t)
    function size_t wcsnrtombs (char*, const wchar_t**, size_t, size_t, mbstate_t*)
    # endif
    function {wchar_t*} wcspbrk (const wchar_t*, const wchar_t*)
    function {wchar_t*} wcsrchr (const wchar_t*, wchar_t)
    function size_t wcsrtombs (char*, const wchar_t**, size_t, mbstate_t*)
    function size_t wcsspn (const wchar_t*, const wchar_t*)
    function {wchar_t*} wcsstr (const wchar_t*, const wchar_t*)
    function double wcstod (const wchar_t*, wchar_t**)
    # ifndef UNIX98
    function float wcstof (const wchar_t*, wchar_t**)
    function {long double} wcstold (const wchar_t*, wchar_t**)
    # endif
    function {wchar_t*} wcstok (wchar_t*, const wchar_t*, wchar_t**)
    function {long int} wcstol (const wchar_t*, wchar_t**, int)
    # ifndef UNIX98
    function {long long int} wcstoll (const wchar_t*, wchar_t**, int)
    # endif
    function {unsigned long int} wcstoul (const wchar_t*, wchar_t**, int)
    # ifndef UNIX98
    function {unsigned long long int} wcstoull (const wchar_t*, wchar_t**, int)
    # endif
    # if defined UNIX98 || defined XOPEN2K
    function {wchar_t*} wcswcs (const wchar_t*, const wchar_t*)
    # endif
    # if !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function int wcswidth (const wchar_t*, size_t)
    # endif
    function size_t wcsxfrm (wchar_t*, const wchar_t*, size_t)
    # if defined XOPEN2K8 || defined POSIX2008
    function size_t wcsxfrm_l (wchar_t*, const wchar_t*, size_t, locale_t)
    # endif
    function int wctob (wint_t)
    # if !defined ISO99 && !defined ISO11 && !defined POSIX2008
    function wctype_t wctype (const char*)
    function int wcwidth (wchar_t)
    # endif
    function {wchar_t*} wmemchr (const wchar_t*, wchar_t, size_t)
    function int wmemcmp (const wchar_t*, const wchar_t*, size_t)
    function {wchar_t*} wmemcpy (wchar_t*, const wchar_t*, size_t)
    function {wchar_t*} wmemmove (wchar_t*, const wchar_t*, size_t)
    function {wchar_t*} wmemset (wchar_t*, wchar_t, size_t)
    function int wprintf (const wchar_t*, ...)
    function int wscanf (const wchar_t*, ...)

    macro-int-constant WCHAR_MIN {promoted:wchar_t}
    macro-int-constant WCHAR_MAX {promoted:wchar_t} >= 127
    macro-constant WEOF {wint_t}
    macro-constant NULL == 0

    #if !defined ISO && !defined ISO99 && !defined ISO11
    allow-header ctype.h
    allow-header stdio.h
    allow-header stdarg.h
    allow-header stdlib.h
    allow-header string.h
    allow-header stddef.h
    allow-header time.h
    #endif

    allow wcs[abcdefghijklmnopqrstuvwxyz]*
    #if !defined ISO && !defined ISO99 && !defined ISO11
    allow *_t
    #endif
    #endif

  9. #509
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4
    type wint_t
    type wctrans_t
    type wctype_t
    # if defined XOPEN2K8 || defined POSIX2008
    type locale_t
    # endif

    function int iswalnum (wint_t)
    function int iswalpha (wint_t)
    # ifndef UNIX98
    function int iswblank (wint_t)
    # endif
    function int iswcntrl (wint_t)
    function int iswdigit (wint_t)
    function int iswgraph (wint_t)
    function int iswlower (wint_t)
    function int iswprint (wint_t)
    function int iswpunct (wint_t)
    function int iswspace (wint_t)
    function int iswupper (wint_t)
    function int iswxdigit (wint_t)
    function int iswctype (wint_t, wctype_t)
    function wint_t towctrans (wint_t, wctrans_t)
    function wint_t towlower (wint_t)
    function wint_t towupper (wint_t)
    function wctrans_t wctrans (const char*)
    function wctype_t wctype (const char*)
    # if defined XOPEN2K8 || defined POSIX2008
    function int iswalnum_l (wint_t, locale_t)
    function int iswalpha_l (wint_t, locale_t)
    function int iswblank_l (wint_t, locale_t)
    function int iswcntrl_l (wint_t, locale_t)
    function int iswdigit_l (wint_t, locale_t)
    function int iswgraph_l (wint_t, locale_t)
    function int iswlower_l (wint_t, locale_t)
    function int iswprint_l (wint_t, locale_t)
    function int iswpunct_l (wint_t, locale_t)
    function int iswspace_l (wint_t, locale_t)
    function int iswupper_l (wint_t, locale_t)
    function int iswxdigit_l (wint_t, locale_t)
    function int iswctype_l (wint_t, wctype_t, locale_t)
    function wint_t towctrans_l (wint_t, wctrans_t, locale_t)
    function wint_t towlower_l (wint_t, locale_t)
    function wint_t towupper_l (wint_t, locale_t)
    function wctrans_t wctrans_l (const char*, locale_t)
    function wctype_t wctype_l (const char*, locale_t)
    # endif

    macro-constant WEOF {wint_t}

    #if !defined ISO && !defined ISO99 && !defined ISO11
    allow-header ctype.h
    allow-header stdio.h
    allow-header stdarg.h
    allow-header stdlib.h
    allow-header string.h
    allow-header stddef.h
    allow-header time.h
    allow-header wchar.h
    #endif

    allow is[abcdefghijklmnopqrstuvwxyz]*
    allow to[abcdefghijklmnopqrstuvwxyz]*
    #if !defined ISO && !defined ISO99 && !defined ISO11
    allow *_t
    #endif
    #endif

  10. #510
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11
    type wordexp_t

    element wordexp_t size_t we_wordc
    element wordexp_t {char**} we_wordv
    element wordexp_t size_t we_offs

    constant WRDE_APPEND
    constant WRDE_DOOFFS
    constant WRDE_NOCMD
    constant WRDE_REUSE
    constant WRDE_SHOWERR
    constant WRDE_UNDEF

    constant WRDE_BADCHAR
    constant WRDE_BADVAL
    constant WRDE_CMDSUB
    constant WRDE_NOSPACE
    # if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
    constant WRDE_NOSYS
    # endif
    constant WRDE_SYNTAX

    function int wordexp (const char*, wordexp_t*, int)
    function void wordfree (wordexp_t*)

    allow WRDE_*
    allow we_*
    allow *_t
    #endif

  11. #511
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    // in_port_t should have exactly 16 bits
    type in_port_t
    // in_addr_t should have exactly 32 bits
    type in_addr_t

    type uint32_t
    type uint16_t

    macro INET_ADDRSTRLEN
    macro INET6_ADDRSTRLEN

    // The following can be declared as functions, defined as macros or both:
    function uint32_t htonl (uint32_t);
    function uint16_t htons (uint16_t);
    function uint32_t ntohl (uint32_t);
    function uint16_t htons (uint16_t);

    function in_addr_t inet_addr (const char*);
    function in_addr_t inet_lnaof (struct in_addr);
    function {struct in_addr} inet_makeaddr (in_addr_t, in_addr_t);
    function in_addr_t inet_netof (struct in_addr);
    function in_addr_t inet_network (const char *);
    function {char*} inet_ntoa (struct in_addr);
    function {const char*} inet_ntop (int, const void*, char*, socklen_t);
    function int inet_pton (int, const char*, void*);

    allow-header netinet/in.h
    allow-header inttypes.h

    #endif

  12. #512
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    type {struct if_nameindex}

    element {struct if_nameindex} {unsigned int} if_index
    element {struct if_nameindex} {char*} if_name

    macro IF_NAMESIZE

    function {unsigned int} if_nametoindex (const char*)
    function {char*} if_indextoname (unsigned int, char*)
    function {struct if_nameindex*} if_nameindex (void)
    function void if_freenameindex (struct if_nameindex*)

    allow *_t
    allow IF_*
    #endif

  13. #513
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    type in_port_t
    type in_addr_t

    type sa_family_t

    type {struct in_addr}

    element {struct in_addr} in_addr_t s_addr

    type {struct sockaddr_in}

    element {struct sockaddr_in} sa_family_t sin_family
    element {struct sockaddr_in} in_port_t sin_port
    element {struct sockaddr_in} {struct in_addr} sin_addr
    element {struct sockaddr_in} {unsigned char} sin_zero [8]

    type {struct in6_addr}

    element {struct in6_addr} uint8_t s6_addr [16]

    type {struct sockaddr_in6}

    element {struct sockaddr_in6} sa_family_t sin6_family
    element {struct sockaddr_in6} in_port_t sin6_port
    element {struct sockaddr_in6} uint32_t sin6_flowinfo
    element {struct sockaddr_in6} {struct in6_addr} sin6_addr
    element {struct sockaddr_in6} uint32_t sin6_scope_id

    variable {const struct in6_addr} in6addr_any

    // constant IN6ADDR_ANY_INIT
    macro IN6ADDR_ANY_INIT

    variable {const struct in6_addr} in6addr_loopback

    // constant IN6ADDR_LOOPBACK_INIT
    macro IN6ADDR_LOOPBACK_INIT

    type {struct ipv6_mreq}

    element {struct ipv6_mreq} {struct in6_addr} ipv6mr_multiaddr
    element {struct ipv6_mreq} {unsigned int} ipv6mr_interface

    macro IPPROTO_IP
    macro IPPROTO_IPV6
    macro IPPROTO_ICMP
    macro IPPROTO_TCP
    macro IPPROTO_UDP

    macro INADDR_ANY
    macro INADDR_BROADCAST

    constant INET_ADDRSTRLEN == 16

    function uint32_t htonl (uint32_t)
    function uint16_t htons (uint16_t)
    function uint32_t ntohl (uint32_t)
    function uint16_t ntohs (uint16_t)

    allow-header inttypes.h
    allow-header sys/socket.h

    constant INET6_ADDRSTRLEN == 46

    macro IPV6_JOIN_GROUP
    macro IPV6_LEAVE_GROUP
    macro IPV6_MULTICAST_HOPS
    macro IPV6_MULTICAST_IF
    macro IPV6_MULTICAST_LOOP
    macro IPV6_UNICAST_HOPS

    macro IN6_IS_ADDR_UNSPECIFIED
    macro IN6_IS_ADDR_LOOPBACK
    macro IN6_IS_ADDR_MULTICAST
    macro IN6_IS_ADDR_LINKLOCAL
    macro IN6_IS_ADDR_SITELOCAL
    macro IN6_IS_ADDR_V4MAPPED
    macro IN6_IS_ADDR_V4COMPAT
    macro IN6_IS_ADDR_MC_NODELOCAL
    macro IN6_IS_ADDR_MC_LINKLOCAL
    macro IN6_IS_ADDR_MC_SITELOCAL
    macro IN6_IS_ADDR_MC_ORGLOCAL
    macro IN6_IS_ADDR_MC_GLOBAL

    allow IMPLINK_*
    allow IN_*
    allow IN6_*
    allow INADDR_*
    allow IP_*
    allow IPV6_*
    allow IPPORT_*
    allow IPPROTO_*
    allow SOCK_*
    #endif

  14. #514
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #ifdef XOPEN2K
    macro TCP_NODELAY

    allow TCP_*
    #endif

  15. #515
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    type {struct ipc_perm}

    element {struct ipc_perm} uid_t uid
    element {struct ipc_perm} gid_t gid
    element {struct ipc_perm} uid_t cuid
    element {struct ipc_perm} gid_t cgid
    element {struct ipc_perm} mode_t mode

    type uid_t
    type gid_t
    type mode_t
    type key_t

    constant IPC_CREAT
    constant IPC_EXCL
    constant IPC_NOWAIT

    constant IPC_PRIVATE

    constant IPC_RMID
    constant IPC_SET
    constant IPC_STAT

    function key_t ftok (const char*, int)

    allow ipc_*
    allow IPC_*
    allow *_t
    #endif

  16. #516
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11
    constant PROT_READ
    constant PROT_WRITE
    constant PROT_EXEC
    constant PROT_NONE

    constant MAP_SHARED
    constant MAP_PRIVATE
    constant MAP_FIXED

    constant MS_ASYNC
    constant MS_SYNC
    constant MS_INVALIDATE

    constant MCL_CURRENT
    constant MCL_FUTURE

    constant MAP_FAILED

    # if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    constant POSIX_MADV_NORMAL
    constant POSIX_MADV_SEQUENTIAL
    constant POSIX_MADV_RANDOM
    constant POSIX_MADV_WILLNEED
    constant POSIX_MADV_DONTNEED

    optional-constant POSIX_TYPED_MEM_ALLOCATE
    optional-constant POSIX_TYPED_MEM_ALLOCATE_CONTIG
    optional-constant POSIX_TYPED_MEM_MAP_ALLOCATABLE

    type mode_t

    optional-type {struct posix_typedmem_info}
    optional-element {struct posix_typedmem_info} size_t posix_tmi_length

    function int posix_madvise (void*, size_t, int)
    optional-function int posix_mem_offset (const void*, size_t, off_t*, size_t*, int*)
    optional-function int posix_typed_mem_get_info (int, struct posix_typed_mem_info*)
    optional-function int posix_typed_mem_open (const char*, int, int)
    # endif

    type size_t
    type off_t

    function int mlock (const void*, size_t)
    function int mlockall (int)
    function {void*} mmap (void*, size_t, int, int, int, off_t)
    function int mprotect (void*, size_t, int)
    function int msync (void*, size_t, int)
    function int munlock (const void*, size_t)
    function int munlockall (void)
    function int munmap (void*, size_t)
    function int shm_open (const char*, int, mode_t)
    function int shm_unlink (const char*)

    allow shm_*
    allow MAP_*
    allow MCL_*
    allow MS_*
    allow PROT_*
    allow *_t
    #endif

  17. #517
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    type {struct msqid_ds}

    type msgqnum_t
    type msglen_t

    constant MSG_NOERROR

    element {struct msqid_ds} {struct ipc_perm} msg_perm
    element {struct msqid_ds} msgqnum_t msg_qnum
    element {struct msqid_ds} msglen_t msg_qbytes
    element {struct msqid_ds} pid_t msg_lspid
    element {struct msqid_ds} pid_t msg_lrpid
    element {struct msqid_ds} time_t msg_stime
    element {struct msqid_ds} time_t msg_rtime
    element {struct msqid_ds} time_t msg_ctime

    type pid_t
    type time_t
    type key_t
    type size_t
    type ssize_t

    function int msgctl (int, int, struct msqid_ds*)
    function int msgget (key_t, int)
    function ssize_t msgrcv (int, void*, size_t, long int, int)
    function int msgsnd (int, const void*, size_t, int)

    allow-header sys/ipc.h

    allow msg*
    allow MSG*
    allow *_h
    #endif

  18. #518
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    constant PRIO_PROCESS
    constant PRIO_PGRP
    constant PRIO_USER

    type rlim_t

    constant RLIM_INFINITY
    constant RLIM_SAVED_MAX
    constant RLIM_SAVED_CUR

    constant RUSAGE_SELF
    constant RUSAGE_CHILDREN

    type {struct rlimit}

    element {struct rlimit} rlim_t rlim_cur
    element {struct rlimit} rlim_t rlim_max

    type {struct rusage}

    element {struct rusage} {struct timeval} ru_utime
    element {struct rusage} {struct timeval} ru_stime

    type {struct timeval}

    constant RLIMIT_CORE
    constant RLIMIT_CPU
    constant RLIMIT_DATA
    constant RLIMIT_FSIZE
    constant RLIMIT_NOFILE
    constant RLIMIT_STACK
    constant RLIMIT_AS

    function int getpriority (int, id_t)
    function int getrlimit (int, struct rlimit*)
    function int getrusage (int, struct rusage*)
    function int setpriority (int, id_t, int)
    function int setrlimit (int, const struct rlimit*)

    type id_t

    allow-header sys/time.h

    allow rlim_*
    allow ru_*
    allow PRIO_*
    allow RLIM_*
    allow RLIMIT_*
    allow RUSAGE_*
    allow *_t
    #endif

  19. #519
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    type time_t
    type suseconds_t

    type {struct timeval}
    element {struct timeval} time_t tv_sec
    element {struct timeval} suseconds_t tv_usec

    type sigset_t

    type {struct timespec}
    element {struct timespec} time_t tv_sec
    element {struct timespec} long tv_nsec

    type fd_set
    #if defined XPG3 || defined XPG4 || defined UNIX98
    element fd_set long fds_bits []
    #endif

    macro FD_CLR
    macro FD_ISSET
    macro FD_SET
    macro FD_ZERO

    macro FD_SETSIZE

    #if defined XOPEN2K || defined POSIX2008
    function int pselect (int, fd_set*, fd_set*, fd_set*, const struct timespec*, const sigset_t*)
    #endif
    function int select (int, fd_set*, fd_set*, fd_set*, struct timeval*)

    allow-header signal.h
    allow-header sys/time.h
    allow-header time.h
    #endif

  20. #520
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    constant SEM_UNDO

    constant GETNCNT
    constant GETPID
    constant GETVAL
    constant GETALL
    constant GETZCNT
    constant SETVAL
    constant SETALL

    type {struct semid_ds}

    element {struct semid_ds} {struct ipc_perm} sem_perm
    element {struct semid_ds} {unsigned short int} sem_nsems
    element {struct semid_ds} time_t sem_otime
    element {struct semid_ds} time_t sem_ctime

    type pid_t
    type time_t
    type key_t
    type size_t

    type {struct sembuf}

    element {struct sembuf} {unsigned short int} sem_num
    element {struct sembuf} {short int} sem_op
    element {struct sembuf} {short int} sem_flg

    function int semctl (int, int, int, ...)
    function int semget (key_t, int, int)
    function int semop (int, struct sembuf*, size_t)

    allow-header sys/ipc.h

    allow sem*
    allow SEM_*
    allow *_t
    #endif

  21. #521
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    constant SHM_RDONLY
    symbol SHMLBA
    constant SHM_RND

    type shmatt_t

    type {struct shmid_ds}

    element {struct shmid_ds} {struct ipc_perm} shm_perm
    element {struct shmid_ds} size_t shm_segsz
    element {struct shmid_ds} pid_t shm_lpid
    element {struct shmid_ds} pid_t shm_cpid
    element {struct shmid_ds} shmatt_t shm_nattch
    element {struct shmid_ds} time_t shm_atime
    element {struct shmid_ds} time_t shm_dtime
    element {struct shmid_ds} time_t shm_ctime

    type pid_t
    type time_t
    type key_t
    type size_t

    function {void*} shmat (int, const void*, int)
    function int shmctl (int, int, struct shmid_ds*)
    function int shmdt (const void*)
    function int shmget (key_t, size_t, int)

    allow-header sys/ipc.h

    allow shm*
    allow SHM*
    allow *_t
    #endif

  22. #522
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
    type socklen_t

    type sa_family_t

    # if defined XOPEN2K8 || defined POSIX2008
    type size_t
    type ssize_t
    # endif

    type {struct sockaddr}

    element {struct sockaddr} sa_family_t sa_family
    element {struct sockaddr} char sa_data []

    type {struct sockaddr_storage}

    element {struct sockaddr_storage} sa_family_t ss_family

    type {struct msghdr}

    element {struct msghdr} {void*} msg_name
    element {struct msghdr} socklen_t msg_namelen
    element {struct msghdr} {struct iovec*} msg_iov
    element {struct msghdr} int msg_iovlen
    element {struct msghdr} {void*} msg_control
    element {struct msghdr} socklen_t msg_controllen
    element {struct msghdr} int msg_flags

    type {struct iovec}

    element {struct iovec} {void*} iov_base
    element {struct iovec} size_t iov_len

    type {struct cmsghdr}

    element {struct cmsghdr} socklen_t cmsg_len
    element {struct cmsghdr} int cmsg_level
    element {struct cmsghdr} int cmsg_type

    macro SCM_RIGHTS

    macro CMSG_DATA
    macro CMSG_NXTHDR
    macro CMSG_FIRSTHDR

    type {struct linger}

    element {struct linger} int l_onoff
    element {struct linger} int l_linger

    macro SOCK_DGRAM
    macro SOCK_STREAM
    macro SOCK_SEQPACKET

    macro SOL_SOCKET

    macro SO_ACCEPTCONN
    macro SO_BROADCAST
    macro SO_DEBUG
    macro SO_DONTROUTE
    macro SO_ERROR
    macro SO_KEEPALIVE
    macro SO_LINGER
    macro SO_OOBINLINE
    macro SO_RCVBUF
    macro SO_RCVLOWAT
    macro SO_RCVTIMEO
    macro SO_REUSEADDR
    macro SO_SNDBUF
    macro SO_SNDLOWAT
    macro SO_SNDTIMEO
    macro SO_TYPE

    macro SOMAXCONN

    macro MSG_CTRUNC
    macro MSG_DONTROUTE
    macro MSG_EOR
    macro MSG_OOB
    macro MSG_PEEK
    macro MSG_TRUNC
    macro MSG_WAITALL
    # if defined XOPEN2K8 || defined POSIX2008
    constant MSG_NOSIGNAL
    # endif

    macro AF_UNIX
    macro AF_UNSPEC
    macro AF_INET
    macro AF_INET6

    macro SHUT_RD
    macro SHUT_WR
    macro SHUT_RDWR

    function int accept (int, struct sockaddr*, socklen_t*)
    function int bind (int, const struct sockaddr*, socklen_t)
    function int connect (int, const struct sockaddr*, socklen_t)
    function int getpeername (int, struct sockaddr*, socklen_t*)
    function int getsockname (int, struct sockaddr*, socklen_t*)
    function int getsockopt (int, int, int, void*, socklen_t*)
    function int listen (int, int)
    function ssize_t recv (int, void*, size_t, int)
    function ssize_t recvfrom (int, void*, size_t, int, struct sockaddr*, socklen_t*)
    function ssize_t recvmsg (int, struct msghdr*, int)
    function ssize_t send (int, const void*, size_t, int)
    function ssize_t sendmsg (int, const struct msghdr*, int)
    function ssize_t sendto (int, const void*, size_t, int, const struct sockaddr*, socklen_t)
    function int setsockopt (int, int, int, const void*, socklen_t)
    function int shutdown (int, int)
    function int socket (int, int, int)
    function int socketpair (int, int, int, int[2])
    #if !defined XPG4 && !defined UNIX98
    function int sockatmark (int)
    #endif

    allow-header sys/uio.h

    allow ss_*
    allow sa_*
    allow if_*
    allow ifc_*
    allow ifru_*
    allow infu_*
    allow ifra_*
    allow msg_*
    allow cmsg_*
    allow l_*
    allow SO*
    allow AF_*
    allow CMSG_*
    allow MSG_*
    allow PF_*
    allow SCM_*
    allow SHUT_*
    #endif

  23. #523
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11

    #if !defined POSIX && !defined POSIX2008 && !defined XPG3 && !defined XPG4
    type blkcnt_t
    type blksize_t
    #endif
    #ifndef POSIX
    type dev_t
    type ino_t
    type mode_t
    type nlink_t
    type uid_t
    type gid_t
    type off_t
    type time_t
    #else
    # define dev_t __dev_t
    # define ino_t __ino_t
    # define mode_t __mode_t
    # define nlink_t __nlink_t
    # define uid_t __uid_t
    # define gid_t __gid_t
    # define off_t __off_t
    # define time_t __time_t
    #endif

    type {struct stat}

    element {struct stat} dev_t st_dev
    element {struct stat} ino_t st_ino
    element {struct stat} mode_t st_mode
    element {struct stat} nlink_t st_nlink
    element {struct stat} uid_t st_uid
    element {struct stat} gid_t st_gid
    #if !defined POSIX && !defined POSIX2008
    element {struct stat} dev_t st_rdev
    #endif
    element {struct stat} off_t st_size
    element {struct stat} time_t st_atime
    element {struct stat} time_t st_mtime
    element {struct stat} time_t st_ctime
    #if !defined POSIX && !defined POSIX2008
    element {struct stat} blksize_t st_blksize
    element {struct stat} blkcnt_t st_blocks
    #endif

    # if defined XOPEN2K8 || defined POSIX2008
    type {struct timespec}
    element {struct timespec} time_t tv_sec
    element {struct timespec} long tv_nsec
    # endif

    #if !defined POSIX && !defined POSIX2008
    constant S_IFMT
    constant S_IFBLK
    constant S_IFCHR
    constant S_IFIFO
    constant S_IFREG
    constant S_IFDIR
    constant S_IFLNK
    constant S_IFSOCK
    #endif

    constant S_IRWXU
    constant S_IRUSR
    constant S_IWUSR
    constant S_IXUSR
    constant S_IRWXG
    constant S_IWGRP
    constant S_IXGRP
    constant S_IRWXO
    constant S_IROTH
    constant S_IWOTH
    constant S_IXOTH
    constant S_ISUID
    constant S_ISGID
    #if !defined POSIX && !defined POSIX2008
    constant S_ISVTX
    #endif

    #if !defined POSIX
    macro S_ISBLK
    macro S_ISCHR
    macro S_ISDIR
    macro S_ISFIFO
    macro S_ISREG
    macro S_ISLNK
    macro S_ISSOCK
    #endif

    // How to represent optional tests?
    optional-macro S_TYPEISMQ
    optional-macro S_TYPEISSEM
    optional-macro S_TYPEISSHM
    optional-macro S_TYPEISTMO

    # if defined XOPEN2K8 || defined POSIX2008
    constant UTIME_NOW
    constant UTIME_OMIT
    # endif

    function int chmod (const char*, mode_t)
    function int fchmod (int, mode_t)
    # if defined XOPEN2K8 || defined POSIX2008
    function int fchmodat (int, const char*, mode_t, int)
    # endif
    function int fstat (int, struct stat*)
    # if defined XOPEN2K8 || defined POSIX2008
    function int fstatat (int, const char*, struct stat*, int)
    function int futimens (int, const struct timespec[2])
    # endif
    #if !defined POSIX
    function int lstat (const char*, struct stat*)
    #endif
    function int mkdir (const char*, mode_t)
    # if defined XOPEN2K8 || defined POSIX2008
    function int mkdirat (int, const char*, mode_t)
    # endif
    function int mkfifo (const char*, mode_t)
    # if defined XOPEN2K8 || defined POSIX2008
    function int mkfifoat (int, const char*, mode_t)
    # endif
    # if !defined POSIX && !defined POSIX2008
    function int mknod (const char*, mode_t, dev_t)
    # endif
    # ifdef XOPEN2K8
    function int mknodat (int, const char*, mode_t, dev_t)
    # endif
    function int stat (const char*, struct stat*)
    function mode_t umask (mode_t)
    # if defined XOPEN2K8 || defined POSIX2008
    function int utimensat (int, const char*, const struct timespec[2], int)
    # endif

    allow st_*
    allow S_*
    allow *_t
    #endif

  24. #524
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    type {struct statvfs}

    element {struct statvfs} {unsigned long} f_bsize
    element {struct statvfs} {unsigned long} f_frsize
    element {struct statvfs} fsblkcnt_t f_blocks
    element {struct statvfs} fsblkcnt_t f_bfree
    element {struct statvfs} fsblkcnt_t f_bavail
    element {struct statvfs} fsfilcnt_t f_files
    element {struct statvfs} fsfilcnt_t f_ffree
    element {struct statvfs} fsfilcnt_t f_favail
    element {struct statvfs} {unsigned long} f_fsid
    element {struct statvfs} {unsigned long} f_flag
    element {struct statvfs} {unsigned long} f_namemax

    type fsblkcnt_t
    type fsfilcnt_t

    constant ST_RDONLY
    constant ST_NOSUID

    function int statvfs (const char*, struct statvfs*)
    function int fstatvfs (int, struct statvfs*)

    allow f_*
    allow ST_*
    allow *_t
    #endif

  25. #525
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    type {struct timeval}

    element {struct timeval} time_t tv_sec
    element {struct timeval} suseconds_t tv_usec

    type {struct itimerval}

    element {struct itimerval} {struct timeval} it_interval
    element {struct itimerval} {struct timeval} it_value

    type time_t
    type suseconds_t

    type fd_set
    element fd_set long fds_bits []

    constant ITIMER_REAL
    constant ITIMER_VIRTUAL
    constant ITIMER_PROF

    macro FD_CLR
    macro FD_ISSET
    macro FD_SET
    macro FD_ZERO

    constant FD_SETSIZE

    function int ge imer (int, struct itimerval*)
    function int se imer (int, const struct itimerval*, struct itimerval*)
    function int gettimeofday (struct timeval*, void*)
    function int select (int, fd_set*, fd_set*, fd_set*, struct timeval*)
    function int utimes (const char*, const struct timeval [2])

    allow fds_*
    allow it_*
    allow tv_*
    allow FD_*
    allow ITIMER_*
    allow *_t

    allow-header sys/select.h
    #endif

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •