Page 20 of 25 FirstFirst ... 10161718192021222324 ... LastLast
Results 476 to 500 of 604
  1. #476
    俺はまんこが大好きなんだよ 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 XPG3 && !defined XPG4
    constant PTHREAD_CANCEL_ASYNCHRONOUS
    constant PTHREAD_CANCEL_ENABLE
    constant PTHREAD_CANCEL_DEFERRED
    constant PTHREAD_CANCEL_DISABLE
    constant PTHREAD_CANCELED
    macro PTHREAD_COND_INITIALIZER
    constant PTHREAD_CREATE_DETACHED
    constant PTHREAD_CREATE_JOINABLE
    constant PTHREAD_EXPLICIT_SCHED
    constant PTHREAD_INHERIT_SCHED
    constant PTHREAD_ONCE_INIT
    optional-constant PTHREAD_PRIO_INHERIT
    optional-constant PTHREAD_PRIO_NONE
    optional-constant PTHREAD_PRIO_PROTECT
    constant PTHREAD_PROCESS_SHARED
    constant PTHREAD_PROCESS_PRIVATE
    constant PTHREAD_SCOPE_PROCESS
    constant PTHREAD_SCOPE_SYSTEM
    # ifndef POSIX
    constant PTHREAD_MUTEX_DEFAULT
    constant PTHREAD_MUTEX_ERRORCHECK
    constant PTHREAD_MUTEX_NORMAL
    macro PTHREAD_MUTEX_INITIALIZER
    constant PTHREAD_MUTEX_RECURSIVE
    macro PTHREAD_RWLOCK_INITIALIZER
    # endif
    # if defined XOPEN2K8 || defined POSIX2008
    constant PTHREAD_MUTEX_ROBUST
    constant PTHREAD_MUTEX_STALLED
    # endif

    type pthread_attr_t
    # if !defined POSIX && !defined UNIX98
    type pthread_barrier_t
    type pthread_barrierattr_t
    # endif
    type pthread_cond_t
    type pthread_condattr_t
    type pthread_key_t
    type pthread_mutex_t
    type pthread_mutexattr_t
    type pthread_once_t
    # if !defined POSIX
    type pthread_rwlock_t
    type pthread_rwlockattr_t
    # endif
    # if !defined POSIX && !defined UNIX98
    type pthread_spinlock_t
    # endif
    type pthread_t

    function int pthread_attr_destroy (pthread_attr_t*)
    function int pthread_attr_getdetachstate (const pthread_attr_t*, int*)
    # ifndef POSIX
    function int pthread_attr_getguardsize (const pthread_attr_t*, size_t*)
    # endif
    function int pthread_attr_getinheritsched (const pthread_attr_t*, int*)
    function int pthread_attr_getschedparam (const pthread_attr_t*, struct sched_param*)
    function int pthread_attr_getschedpolicy (const pthread_attr_t*, int*)
    function int pthread_attr_getscope (const pthread_attr_t*, int*)
    function int pthread_attr_getstackaddr (const pthread_attr_t*, void**)
    function int pthread_attr_getstacksize (const pthread_attr_t*, size_t*)
    function int pthread_attr_init (pthread_attr_t*)
    function int pthread_attr_setdetachstate (pthread_attr_t*, int)
    # ifndef POSIX
    function int pthread_attr_setguardsize (pthread_attr_t*, size_t)
    # endif
    function int pthread_attr_setinheritsched (pthread_attr_t*, int)
    function int pthread_attr_setschedparam (pthread_attr_t*, const struct sched_param*)
    function int pthread_attr_setschedpolicy (pthread_attr_t*, int)
    function int pthread_attr_setscope (pthread_attr_t*, int)
    function int pthread_attr_setstackaddr (pthread_attr_t*, void*)
    function int pthread_attr_setstacksize (pthread_attr_t*, size_t)
    # if !defined POSIX && !defined UNIX98
    function int pthread_barrier_destroy (pthread_barrier_t*)
    function int pthread_barrier_init (pthread_barrier_t*, const pthread_barrierattr_t*, unsigned int)
    function int pthread_barrier_wait (pthread_barrier_t*)
    function int pthread_barrierattr_destroy (pthread_barrierattr_t*)
    function int pthread_barrierattr_getpshared (const pthread_barrierattr_t*, int*)
    function int pthread_barrierattr_init (pthread_barrierattr_t*)
    function int pthread_barrierattr_setpshared (pthread_barrierattr_t*, int)
    # endif
    function int pthread_cancel (pthread_t)
    // function int pthread_cleanup_push (void (*) (void*), void*)
    macro pthread_cleanup_push
    // function int pthread_cleanup_pop (int)
    macro pthread_cleanup_pop
    function int pthread_cond_broadcast (pthread_cond_t*)
    function int pthread_cond_destroy (pthread_cond_t*)
    function int pthread_cond_init (pthread_cond_t*, const pthread_condattr_t*)
    function int pthread_cond_signal (pthread_cond_t*)
    function int pthread_cond_timedwait (pthread_cond_t*, pthread_mutex_t*, const struct timespec*)
    function int pthread_cond_wait (pthread_cond_t*, pthread_mutex_t*)
    function int pthread_condattr_destroy (pthread_condattr_t*)
    #if !defined POSIX && !defined UNIX98 && !defined XOPEN2K
    optional-function int pthread_condattr_getclock (const pthread_condattr_t*, clockid_t*)
    #endif
    function int pthread_condattr_getpshared (const pthread_condattr_t*, int*)
    function int pthread_condattr_init (pthread_condattr_t*)
    #if !defined POSIX && !defined UNIX98 && !defined XOPEN2K
    optional-function int pthread_condattr_setclock (pthread_condattr_t*, clockid_t)
    #endif
    function int pthread_condattr_setpshared (pthread_condattr_t*, int)
    function int pthread_create (pthread_t*, const pthread_attr_t*, void *(*) (void*), void*)
    function int pthread_detach (pthread_t)
    function int pthread_equal (pthread_t, pthread_t)
    function void pthread_exit (void*)
    # if !defined POSIX && !defined POSIX2008
    function int pthread_getconcurrency (void)
    # endif
    # if !defined POSIX && !defined UNIX98
    function int pthread_getcpuclockid (pthread_t, clockid_t*)
    # endif
    function int pthread_getschedparam (pthread_t, int*, struct sched_param*)
    function {void*} pthread_getspecific (pthread_key_t)
    function int pthread_join (pthread_t, void**)
    function int pthread_key_create (pthread_key_t*, void (*)(void*))
    function int pthread_key_delete (pthread_key_t)
    function int pthread_mutex_destroy (pthread_mutex_t*)
    optional-function int pthread_mutex_getprioceiling (const pthread_mutex_t*, int*)
    function int pthread_mutex_init (pthread_mutex_t*, const pthread_mutexattr_t*)
    function int pthread_mutex_lock (pthread_mutex_t*)
    optional-function int pthread_mutex_setprioceiling (pthread_mutex_t*, int, int*)
    # if !defined POSIX && !defined UNIX98
    function int pthread_mutex_timedlock (pthread_mutex_t*, const struct timespec*)
    # endif
    function int pthread_mutex_trylock (pthread_mutex_t*)
    function int pthread_mutex_unlock (pthread_mutex_t*)
    function int pthread_mutexattr_destroy (pthread_mutexattr_t*)
    optional-function int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t*, int*)
    optional-function int pthread_mutexattr_getprotocol (const pthread_mutexattr_t*, int*)
    function int pthread_mutexattr_getpshared (const pthread_mutexattr_t*, int*)
    # if !defined POSIX
    function int pthread_mutexattr_gettype (const pthread_mutexattr_t*, int*)
    # endif
    function int pthread_mutexattr_init (pthread_mutexattr_t*)
    optional-function int pthread_mutexattr_setprioceiling (pthread_mutexattr_t*, int)
    optional-function int pthread_mutexattr_setprotocol (pthread_mutexattr_t*, int)
    function int pthread_mutexattr_setpshared (pthread_mutexattr_t*, int)
    # if !defined POSIX
    function int pthread_mutexattr_settype (pthread_mutexattr_t*, int)
    # endif
    function int pthread_once (pthread_once_t*, void (*) (void))
    # if !defined POSIX
    function int pthread_rwlock_init (pthread_rwlock_t*, const pthread_rwlockattr_t*)
    function int pthread_rwlock_rdlock (pthread_rwlock_t*)
    # endif
    # if !defined POSIX && !defined UNIX98
    function int pthread_rwlock_timedrdlock (pthread_rwlock_t*, const struct timespec*)
    function int pthread_rwlock_timedwrlock (pthread_rwlock_t*, const struct timespec*)
    # endif
    # if !defined POSIX
    function int pthread_rwlock_tryrdlock (pthread_rwlock_t*)
    function int pthread_rwlock_trywrlock (pthread_rwlock_t*)
    function int pthread_rwlock_unlock (pthread_rwlock_t*)
    function int pthread_rwlock_wrlock (pthread_rwlock_t*)
    function int pthread_rwlockattr_destroy (pthread_rwlockattr_t*)
    function int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t*, int*)
    function int pthread_rwlockattr_init (pthread_rwlockattr_t*)
    function int pthread_rwlockattr_setpshared (pthread_rwlockattr_t*, int)
    # endif
    function pthread_t pthread_self (void)
    function int pthread_setcancelstate (int, int*)
    function int pthread_setcanceltype (int, int*)
    # if !defined POSIX && !defined POSIX2008
    function int pthread_setconcurrency (int)
    # endif
    function int pthread_setschedparam (pthread_t, int, const struct sched_param*)
    function int pthread_setspecific (pthread_key_t, const void*)
    # if !defined POSIX && !defined UNIX98 && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
    function int pthread_sigmask (int, const sigset_t*, sigset_t*)
    # endif
    # if !defined POSIX && !defined UNIX98
    function int pthread_spin_destroy (pthread_spinlock_t*)
    function int pthread_spin_init (pthread_spinlock_t*, int)
    function int pthread_spin_lock (pthread_spinlock_t*)
    function int pthread_spin_trylock (pthread_spinlock_t*)
    function int pthread_spin_unlock (pthread_spinlock_t*)
    # endif
    function void pthread_testcancel (void)
    # if defined XOPEN2K8 || defined POSIX2008
    function int pthread_mutex_consistent (pthread_mutex_t *)
    function int pthread_mutexattr_getrobust (const pthread_mutexattr_t*, int*)
    function int pthread_mutexattr_setrobust (pthread_mutexattr_t*, int)
    # endif

    allow-header sched.h
    allow-header time.h

    allow PTHREAD_*
    allow pthread_*
    allow *_t
    #endif

  2. #477
    俺はまんこが大好きなんだよ 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
    #endif

    type {struct passwd}
    element {struct passwd} {char*} pw_name
    element {struct passwd} uid_t pw_uid
    element {struct passwd} gid_t pw_gid
    element {struct passwd} {char*} pw_dir
    element {struct passwd} {char*} pw_s

    # ifndef POSIX
    type uid_t
    type gid_t
    # if defined XOPEN2K8 || defined POSIX2008
    type size_t
    # endif
    # endif

    function {struct passwd*} getpwnam (const char*)
    function {struct passwd*} getpwuid (uid_t)
    function int getpwnam_r (const char*, struct passwd*, char*, size_t, struct passwd**)
    function int getpwuid_r (uid_t, struct passwd*, char*, size_t, struct passwd**)
    # if !defined POSIX && !defined POSIX2008
    function void endpwent (void)
    function {struct passwd*} getpwent (void)
    function void setpwent (void)
    # endif

    allow pw_*
    allow *_t
    #endif

  3. #478
    俺はまんこが大好きなんだよ 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 regex_t
    element regex_t size_t re_nsub

    type regoff_t

    type regmatch_t
    element regmatch_t regoff_t rm_so
    element regmatch_t regoff_t rm_eo

    constant REG_EXTENDED
    constant REG_ICASE
    constant REG_NOSUB
    constant REG_NEWLINE

    constant REG_NOTBOL
    constant REG_NOTEOL

    constant REG_NOMATCH
    constant REG_BADPAT
    constant REG_ECOLLATE
    constant REG_ECTYPE
    constant REG_EESCAPE
    constant REG_ESUBREG
    constant REG_EBRACK
    constant REG_EPAREN
    constant REG_EBRACE
    constant REG_BADBR
    constant REG_ERANGE
    constant REG_ESPACE
    constant REG_BADRPT
    # if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
    constant REG_ENOSYS
    # endif

    function int regcomp (regex_t*, const char*, int)
    function int regexec (const regex_t*, const char*, size_t, regmatch_t[], int)
    function size_t regerror (int, const regex_t*, char*, size_t)
    function void regfree (regex_t*)

    allow REG_*
    allow re_*
    allow rm_*
    allow *_t
    #endif

  4. #479
    俺はまんこが大好きなんだよ 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 {struct sched_param}
    element {struct sched_param} int sched_priority
    optional-element {struct sched_param} int sched_ss_low_priority
    optional-element {struct sched_param} {struct timespec} sched_ss_repl_period
    optional-element {struct sched_param} {struct timespec} sched_ss_init_budget
    optional-element {struct sched_param} int sched_ss_max_repl

    # if defined XOPEN2K8 || defined POSIX2008
    type pid_t
    type time_t
    type {struct timespec}
    # endif

    constant SCHED_FIFO
    constant SCHED_RR
    optional-constant SCHED_SPORADIC
    constant SCHED_OTHER

    function int sched_get_priority_max (int)
    function int sched_get_priority_min (int)
    function int sched_getparam (pid_t, struct sched_param*)
    function int sched_getscheduler (pid_t)
    function int sched_rr_get_interval (pid_t, struct timespec*)
    function int sched_setparam (pid_t, const struct sched_param*)
    function int sched_setscheduler (pid_t, int, const struct sched_param*)
    function int sched_yield (void)

    allow-header time.h

    allow sched_*
    allow SCHED_*
    allow *_t
    #endif

  5. #480
    俺はまんこが大好きなんだよ 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 ENTRY
    type {struct entry}
    element {struct entry} {char*} key
    element {struct entry} {void*} data

    type ACTION
    constant FIND
    constant ENTER

    type VISIT
    constant preorder
    constant postorder
    constant endorder
    constant leaf

    function int hcreate (size_t)
    function void hdestroy (void)
    function {ENTRY*} hsearch (ENTRY, ACTION)
    function void insque (void*, void*)
    function {void*} lfind (const void*, const void*, size_t*, size_t, int (*)(const void*, const void*))
    function {void*} lsearch (const void*, void*, size_t*, size_t, int (*)(const void*, const void*))
    function void remque (void*)
    function {void*} tdelete (const void*, void**, int(*)(const void*, const void*))
    function {void*} tfind (const void*, void*const*, int(*)(const void*, const void*))
    function {void*} tsearch (const void*, void**, int(*)(const void*, const void*))
    function void twalk (const void*, void (*) (const void*, VISIT, int))

    allow *_t
    #endif

  6. #481
    俺はまんこが大好きなんだよ 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 XPG3 && !defined XPG4
    type sem_t

    constant SEM_FAILED

    function int sem_close (sem_t*)
    function int sem_destroy (sem_t*)
    function int sem_getvalue (sem_t*, int*)
    function int sem_init (sem_t*, int, unsigned int)
    function {sem_t*} sem_open (const char*, int, ...)
    function int sem_post (sem_t*)
    # if !defined POSIX && !defined UNIX98
    function int sem_timedwait (sem_t*, const struct timespec*)
    # endif
    function int sem_trywait (sem_t*)
    function int sem_unlink (const char*)
    function int sem_wait (sem_t*)

    # ifndef POSIX
    allow-header fcntl.h
    allow-header sys/types.h
    # endif
    allow-header time.h

    allow sem_*
    allow SEM_*
    allow *_t
    #endif

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

    function void longjmp (jmp_buf, int)
    #if !defined ISO && !defined ISO99 && !defined ISO11
    function void siglongjmp (sigjmp_buf, int)
    # if !defined POSIX && !defined POSIX2008
    function void _longjmp (jmp_buf, int)
    # endif
    #endif

    macro-function int setjmp (jmp_buf)
    #if !defined ISO && !defined ISO99 && !defined ISO11
    macro-function int sigsetjmp (sigjmp_buf, int)
    # if !defined POSIX && !defined POSIX2008
    macro-function int _setjmp (jmp_buf)
    # endif
    #endif

    #if !defined ISO && !defined ISO99 && !defined ISO11
    allow *_t
    #endif

  8. #483
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    macro-constant SIG_DFL {void(*)(int)}
    macro-constant SIG_ERR {void(*)(int)}
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    macro-constant SIG_HOLD {void(*)(int)}
    #endif
    macro-constant SIG_IGN {void(*)(int)}

    type sig_atomic_t
    #if !defined ISO && !defined ISO99 && !defined ISO11
    type sigset_t
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    type pid_t
    #elif defined POSIX
    # define pid_t __pid_t
    # define uid_t __uid_t
    #endif
    #if defined XOPEN2K8 || defined POSIX2008
    type size_t
    type pthread_t
    type uid_t

    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 {struct timespec}
    element {struct timespec} __time_t tv_sec
    element {struct timespec} long tv_nsec
    #endif

    #if defined POSIX || defined UNIX98 || defined XOPEN2K8 || defined POSIX2008
    element {union sigval} int sival_int
    element {union sigval} {void*} sival_ptr

    type {struct sigevent}

    // Test the elements of the sigevent_t structure.
    element {struct sigevent} int sigev_notify
    element {struct sigevent} int sigev_signo
    element {struct sigevent} {union sigval} sigev_value
    element {struct sigevent} {void(*} sigev_notify_function )(union sigval)
    element {struct sigevent} {pthread_attr_t*} sigev_notify_attributes

    constant SIGEV_NONE
    constant SIGEV_SIGNAL
    constant SIGEV_THREAD

    type {union sigval}

    macro SIGRTMIN
    macro SIGRTMAX
    #endif

    macro-int-constant SIGABRT {int} > 0
    macro-int-constant SIGFPE {int} > 0
    macro-int-constant SIGILL {int} > 0
    macro-int-constant SIGINT {int} > 0
    macro-int-constant SIGSEGV {int} > 0
    macro-int-constant SIGTERM {int} > 0

    function void (*signal (int, void(*)(int)))(int)
    function int raise (int)

    #if !defined ISO && !defined ISO99 && !defined ISO11
    macro-int-constant SIGALRM {int} > 0
    macro-int-constant SIGHUP {int} > 0
    macro-int-constant SIGIO {int} > 0
    macro-int-constant SIGKILL {int} > 0
    macro-int-constant SIGPIPE {int} > 0
    macro-int-constant SIGQUIT {int} > 0
    macro-int-constant SIGUSR1 {int} > 0
    macro-int-constant SIGUSR2 {int} > 0
    macro-int-constant SIGCHLD {int} > 0
    macro-int-constant SIGCONT {int} > 0
    macro-int-constant SIGSTOP {int} > 0
    macro-int-constant SIGTSTP {int} > 0
    macro-int-constant SIGTTIN {int} > 0
    macro-int-constant SIGTTOU {int} > 0
    macro-int-constant SIGBUS {int} > 0
    macro-int-constant SIGPOLL {int} > 0
    macro-int-constant SIGPROF {int} > 0
    macro-int-constant SIGSYS {int} > 0
    # if !defined POSIX && !defined POSIX2008
    macro-int-constant SIGTRAP {int} > 0
    # endif
    macro-int-constant SIGURG {int} > 0
    macro-int-constant SIGVTALRM {int} > 0
    macro-int-constant SIGXCPU {int} > 0
    macro-int-constant SIGXFSZ {int} > 0

    type {struct sigaction}

    element {struct sigaction} {void(*} sa_handler )(int)
    element {struct sigaction} sigset_t sa_mask
    element {struct sigaction} int sa_flags
    element {struct sigaction} {void(*} sa_sigaction )(int, siginfo_t*, void*)

    constant SA_NOCLDSTOP
    constant SIG_BLOCK
    constant SIG_UNBLOCK
    constant SIG_SETMASK
    # if !defined POSIX && !defined POSIX2008
    constant SA_ONSTACK
    # endif
    # if !defined POSIX
    constant SA_RESETHAND
    constant SA_RESTART
    constant SA_SIGINFO
    constant SA_NOCLDWAIT
    constant SA_NODEFER
    # endif
    # if !defined POSIX && !defined POSIX2008
    constant SS_ONSTACK
    constant SS_DISABLE
    constant MINSIGSTKSZ
    constant SIGSTKSZ
    # endif

    # if !defined POSIX
    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 stack_t

    element stack_t {void*} ss_sp
    element stack_t size_t ss_size
    element stack_t int ss_flags

    type {struct sigstack}

    element {struct sigstack} int ss_onstack
    element {struct sigstack} {void*} ss_sp
    # endif

    type siginfo_t

    element siginfo_t int si_signo
    # if !defined POSIX && !defined POSIX2008
    element siginfo_t int si_errno
    # endif
    element siginfo_t int si_code
    element siginfo_t pid_t si_pid
    element siginfo_t uid_t si_uid
    element siginfo_t {void*} si_addr
    element siginfo_t int si_status
    element siginfo_t long si_band
    element siginfo_t {union sigval} si_value

    constant ILL_ILLOPC
    constant ILL_ILLOPN
    constant ILL_ILLADR
    constant ILL_ILLTRP
    constant ILL_PRVOPC
    constant ILL_PRVREG
    constant ILL_COPROC
    constant ILL_BADSTK
    constant FPE_INTDIV
    constant FPE_INTOVF
    constant FPE_FLTDIV
    constant FPE_FLTOVF
    constant FPE_FLTUND
    constant FPE_FLTRES
    constant FPE_FLTINV
    constant FPE_FLTSUB
    constant SEGV_MAPERR
    constant SEGV_ACCERR
    constant BUS_ADRALN
    constant BUS_ADRERR
    constant BUS_OBJERR
    constant TRAP_BRKPT
    constant TRAP_TRACE
    constant CLD_EXITED
    constant CLD_KILLED
    constant CLD_DUMPED
    constant CLD_TRAPPED
    constant CLD_STOPPED
    constant CLD_CONTINUED
    constant POLL_IN
    constant POLL_OUT
    constant POLL_MSG
    constant POLL_ERR
    constant POLL_PRI
    constant POLL_HUP
    constant SI_USER
    constant SI_QUEUE
    constant SI_TIMER
    constant SI_ASYNCIO
    constant SI_MESGQ

    # if !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
    function void (*bsd_signal (int, void(*)(int)))(int)
    # endif
    function int kill (pid_t, int)
    # if !defined POSIX && !defined POSIX2008
    function int killpg (pid_t, int)
    # endif
    # if !defined XPG3 && !defined XPG4
    function int pthread_kill (pthread_t, int)
    function int pthread_sigmask (int, const sigset_t*, sigset_t*)
    # endif
    function int sigaction (int, const struct sigaction*, struct sigaction*)
    function int sigaddset (sigset_t*, int)
    # if !defined POSIX && !defined POSIX2008
    function int sigaltstack (const stack_t*, stack_t*)
    # endif
    function int sigdelset (sigset_t*, int)
    function int sigemptyset (sigset_t*)
    function int sigfillset (sigset_t*)
    # if !defined POSIX && !defined POSIX2008
    function int sighold (int)
    function int sigignore (int)
    function int siginterrupt (int, int)
    # endif
    function int sigismember (const sigset_t*, int)
    #if !defined POSIX && !defined POSIX2008
    function int sigpause (int)
    # endif
    function int sigpending (sigset_t*)
    function int sigprocmask (int, const sigset_t*, sigset_t*)
    # if !defined XPG3 && !defined XPG4
    function int sigqueue (pid_t, int, const union sigval)
    # endif
    # if !defined POSIX && !defined POSIX2008
    function int sigrelse (int)
    function void (*sigset (int, void(*)(int)))(int)
    # endif
    # if !defined POSIX
    function int sigstack (struct sigstack*, struct sigstack*)
    # endif
    function int sigsuspend (const sigset_t*)
    # if !defined XPG3 && !defined XPG4
    function int sigtimedwait (const sigset_t*, siginfo_t*, const struct timespec*)
    # endif
    function int sigwait (const sigset_t*, int*)
    # if !defined XPG3 && !defined XPG4
    function int sigwaitinfo (const sigset_t*, siginfo_t*)
    # endif
    # if defined XOPEN2K8 || defined POSIX2008
    function void psiginfo (const siginfo_t*, const char*)
    function void psignal (int, const char*)
    # endif

    // The following expressions are not entirely correct but the current
    // poorfnmatch implementation doesn't grok the right form.
    allow SIG*
    allow sa_*
    allow uc_*
    allow ss_*
    allow sv_*
    allow si_*
    allow SI_*
    allow sigev_*
    allow SIGEV_*
    allow sival_*
    allow SA_*
    allow BUS_*
    allow CLD_*
    allow FPE_*
    allow ILL_*
    allow POLL_*
    allow SEGV_*
    allow SS_*
    allow SV_*
    allow TRAP_*
    allow *_t

    allow-header time.h
    #endif

    allow SIG[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*
    allow SIG_*

  9. #484
    俺はまんこが大好きなんだよ 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 posix_spawnattr_t
    type posix_spawn_file_actions_t
    # if defined XOPEN2K8 || defined POSIX2008
    type mode_t
    type pid_t
    type sigset_t
    type {struct sched_param}
    # endif

    constant POSIX_SPAWN_RESETIDS
    constant POSIX_SPAWN_SETPGROUP
    constant POSIX_SPAWN_SETSCHEDPARAM
    constant POSIX_SPAWN_SETSCHEDULER
    constant POSIX_SPAWN_SETSIGDEF
    constant POSIX_SPAWN_SETSIGMASK

    function int posix_spawnattr_destroy (posix_spawnattr_t*)
    function int posix_spawnattr_getsigdefault (const posix_spawnattr_t*, sigset_t*)
    function int posix_spawnattr_getflags (const posix_spawnattr_t*, short*)
    function int posix_spawnattr_getpgroup (const posix_spawnattr_t*, pid_t*)
    function int posix_spawnattr_getschedparam (const posix_spawnattr_t*, struct sched_param*)
    function int posix_spawnattr_getschedpolicy (const posix_spawnattr_t*, int*)
    function int posix_spawnattr_getsigmask (const posix_spawnattr_t*, sigset_t*)
    function int posix_spawnattr_init (posix_spawnattr_t*)
    function int posix_spawnattr_setsigdefault (posix_spawnattr_t*, const sigset_t*)
    function int posix_spawnattr_setflags (posix_spawnattr_t*, short)
    function int posix_spawnattr_setpgroup (posix_spawnattr_t*, pid_t)
    function int posix_spawnattr_setschedparam (posix_spawnattr_t*, const struct sched_param*)
    function int posix_spawnattr_setschedpolicy (posix_spawnattr_t*, int)
    function int posix_spawnattr_setsigmask (posix_spawnattr_t*, const sigset_t*)
    function int posix_spawn_file_actions_addclose (posix_spawn_file_actions_t*, int)
    function int posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t*, int, int)
    function int posix_spawn_file_actions_addopen (posix_spawn_file_actions_t*, int, const char *, int, mode_t)
    function int posix_spawn_file_actions_destroy (posix_spawn_file_actions_t*)
    function int posix_spawn_file_actions_init (posix_spawn_file_actions_t*)
    function int posix_spawn (pid_t*, const char*, const posix_spawn_file_actions_t*, const posix_spawnattr_t*, char *const[], char *const[]);
    function int posix_spawnp (pid_t*, const char*, const posix_spawn_file_actions_t*, const posix_spawnattr_t*, char *const[], char *const[]);

    allow-header sched.h
    allow-header signal.h
    allow-header sys/types.h
    #endif

  10. #485
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if defined ISO11
    macro alignas
    macro alignof
    macro-int-constant __alignas_is_defined {int} == 1
    macro-int-constant __alignof_is_defined {int} == 1
    #endif

  11. #486
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    type va_list

    // XXX We didn't check the parameters.
    macro va_start
    macro va_arg
    macro va_end

    #if defined ISO99 || defined ISO11 || defined POSIX2008 || defined XOPEN2K8
    macro va_copy
    #endif

    #if !defined ISO && !defined ISO99 && !defined ISO11
    allow *_t
    #endif

  12. #487
    俺はまんこが大好きなんだよ 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 && !defined UNIX98
    macro bool
    macro-int-constant true {int} == 1
    macro-int-constant false {int} == 0
    macro-int-constant __bool_true_false_are_defined {int} == 1

    #if !defined ISO && !defined ISO99 && !defined ISO11
    allow *_t
    #endif
    #endif

  13. #488
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    macro-constant NULL == 0

    macro offsetof

    type ptrdiff_t
    type wchar_t
    type size_t

    #if defined ISO11
    type max_align_t
    #endif

    #if !defined ISO && !defined ISO99 && !defined ISO11
    allow *_t
    #endif

  14. #489
    俺はまんこが大好きなんだよ 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 && !defined UNIX98
    // The requirements for some types and corresponding macros are from POSIX.
    type int8_t
    type int16_t
    type int32_t
    type int64_t
    type uint8_t
    type uint16_t
    type uint32_t
    type uint64_t

    type int_least8_t
    type int_least16_t
    type int_least32_t
    type int_least64_t
    type uint_least8_t
    type uint_least16_t
    type uint_least32_t
    type uint_least64_t

    type int_fast8_t
    type int_fast16_t
    type int_fast32_t
    type int_fast64_t
    type uint_fast8_t
    type uint_fast16_t
    type uint_fast32_t
    type uint_fast64_t

    type intptr_t
    type uintptr_t

    type intmax_t
    type uintmax_t

    macro-int-constant INT8_MIN {promoted:int8_t} == -128
    macro-int-constant INT8_MAX {promoted:int8_t} == 127
    macro-int-constant INT16_MIN {promoted:int16_t} == -32768
    macro-int-constant INT16_MAX {promoted:int16_t} == 32767
    macro-int-constant INT32_MIN {promoted:int32_t} == -2147483647-1
    macro-int-constant INT32_MAX {promoted:int32_t} == 2147483647
    macro-int-constant INT64_MIN {promoted:int64_t} == -9223372036854775807LL-1
    macro-int-constant INT64_MAX {promoted:int64_t} == 9223372036854775807LL

    macro-int-constant UINT8_MAX {promoted:uint8_t} == 255
    macro-int-constant UINT16_MAX {promoted:uint16_t} == 65535
    macro-int-constant UINT32_MAX {promoted:uint32_t} == 4294967295U
    macro-int-constant UINT64_MAX {promoted:uint64_t} == 18446744073709551615ULL

    macro-int-constant INT_LEAST8_MIN {promoted:int_least8_t} <= -128
    macro-int-constant INT_LEAST8_MAX {promoted:int_least8_t} >= 127
    macro-int-constant INT_LEAST16_MIN {promoted:int_least16_t} <= -32768
    macro-int-constant INT_LEAST16_MAX {promoted:int_least16_t} >= 32767
    macro-int-constant INT_LEAST32_MIN {promoted:int_least32_t} <= -2147483647-1
    macro-int-constant INT_LEAST32_MAX {promoted:int_least32_t} >= 2147483647
    macro-int-constant INT_LEAST64_MIN {promoted:int_least64_t} <= -9223372036854775807LL-1
    macro-int-constant INT_LEAST64_MAX {promoted:int_least64_t} >= 9223372036854775807LL

    macro-int-constant UINT_LEAST8_MAX {promoted:uint_least8_t} >= 255
    macro-int-constant UINT_LEAST16_MAX {promoted:uint_least16_t} >= 65535
    macro-int-constant UINT_LEAST32_MAX {promoted:uint_least32_t} >= 4294967295U
    macro-int-constant UINT_LEAST64_MAX {promoted:uint_least64_t} >= 18446744073709551615ULL

    macro-int-constant INT_FAST8_MIN {promoted:int_fast8_t} <= -128
    macro-int-constant INT_FAST8_MAX {promoted:int_fast8_t} >= 127
    macro-int-constant INT_FAST16_MIN {promoted:int_fast16_t} <= -32768
    macro-int-constant INT_FAST16_MAX {promoted:int_fast16_t} >= 32767
    macro-int-constant INT_FAST32_MIN {promoted:int_fast32_t} <= -2147483647-1
    macro-int-constant INT_FAST32_MAX {promoted:int_fast32_t} >= 2147483647
    macro-int-constant INT_FAST64_MIN {promoted:int_fast64_t} <= -9223372036854775807LL-1
    macro-int-constant INT_FAST64_MAX {promoted:int_fast64_t} >= 9223372036854775807LL

    macro-int-constant UINT_FAST8_MAX {promoted:uint_fast8_t} >= 255
    macro-int-constant UINT_FAST16_MAX {promoted:uint_fast16_t} >= 65535
    macro-int-constant UINT_FAST32_MAX {promoted:uint_fast32_t} >= 4294967295U
    macro-int-constant UINT_FAST64_MAX {promoted:uint_fast64_t} >= 18446744073709551615ULL

    macro-int-constant INTPTR_MIN {promoted:intptr_t} <= -32768
    macro-int-constant INTPTR_MAX {promoted:intptr_t} >= 32767

    macro-int-constant UINTPTR_MAX {promoted:uintptr_t} >= 65535

    macro-int-constant INTMAX_MIN {promoted:intmax_t} <= -9223372036854775807LL-1
    macro-int-constant INTMAX_MAX {promoted:intmax_t} >= 9223372036854775807LL

    macro-int-constant UINTMAX_MAX {promoted:uintmax_t} >= 18446744073709551615ULL

    macro-int-constant PTRDIFF_MIN {promoted:__PTRDIFF_TYPE__} <= -65535
    macro-int-constant PTRDIFF_MAX {promoted:__PTRDIFF_TYPE__} >= 65535

    macro-int-constant SIG_ATOMIC_MIN {promoted:__SIG_ATOMIC_TYPE__}
    macro-int-constant SIG_ATOMIC_MAX {promoted:__SIG_ATOMIC_TYPE__} >= 127

    macro-int-constant SIZE_MAX {promoted:__SIZE_TYPE__} >= 65535

    macro-int-constant WCHAR_MIN {promoted:__WCHAR_TYPE__}
    macro-int-constant WCHAR_MAX {promoted:__WCHAR_TYPE__} >= 127

    macro-int-constant WINT_MIN {promoted:__WINT_TYPE__}
    macro-int-constant WINT_MAX {promoted:__WINT_TYPE__} >= 127

    macro INT8_C
    macro INT16_C
    macro INT32_C
    macro INT64_C
    macro UINT8_C
    macro UINT16_C
    macro UINT32_C
    macro UINT64_C
    macro INTMAX_C
    macro UINTMAX_C

    // The following expressions are not entirely correct but the current
    // poorfnmatch implementation doesn't grok the right forms (INT*_MAX,
    // INT*_MIN, INT*_C, UINT*_MAX, UINT*_MIN, UINT*_C, int*_t, uint*_t).
    allow INT*
    allow UINT*
    allow *_t
    #endif

  15. #490
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    macro-int-constant BUFSIZ >= 256
    macro-int-constant FILENAME_MAX
    macro-int-constant FOPEN_MAX >= 8

    macro-int-constant _IOFBF
    macro-int-constant _IOLBF
    macro-int-constant _IONBF

    #if !defined ISO && !defined ISO99 && !defined ISO11
    constant L_ctermid
    # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
    # ifdef POSIX
    optional-constant L_cuserid
    # else
    constant L_cuserid
    # endif
    # endif
    #endif
    macro-int-constant L_tmpnam

    macro-int-constant SEEK_CUR
    macro-int-constant SEEK_END
    macro-int-constant SEEK_SET

    macro-int-constant TMP_MAX >= 10000

    macro-int-constant EOF < 0

    macro-constant NULL == 0

    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    constant P_tmpdir
    #endif

    macro stdin {FILE *}
    macro stdout {FILE *}
    macro stderr {FILE *}

    type FILE
    type fpos_t
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    type va_list
    #else
    #define va_list _G_va_list
    #endif
    type size_t
    #if defined XOPEN2K8 || defined POSIX2008
    type off_t
    type ssize_t
    #endif

    function void clearerr (FILE*)
    #if !defined ISO && !defined ISO99 && !defined ISO11
    function {char*} ctermid (char*)
    # if defined XPG3 || defined XPG4 || defined UNIX98
    function {char*} cuserid (char*)
    # endif
    #endif
    #if defined XOPEN2K8 || defined POSIX2008
    function int dprintf (int, const char*, ...)
    #endif
    function int fclose (FILE*)
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG3 && !defined XPG4
    function {FILE*} fdopen (int, const char*)
    #endif
    function int feof (FILE*)
    function int ferror (FILE*)
    function int fflush (FILE*)
    function int fgetc (FILE*)
    function int fgetpos (FILE*, fpos_t*)
    function {char*} fgets (char*, int, FILE*)
    #if !defined ISO && !defined ISO99 && !defined ISO11
    function int fileno (FILE*)
    #endif
    #if defined POSIX || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    function void flockfile (FILE*)
    #endif
    #if defined XOPEN2K8 || defined POSIX2008
    function {FILE*} fmemopen (void*, size_t, const char*)
    #endif
    function {FILE*} fopen (const char*, const char*)
    function int fprintf (FILE*, const char*, ...)
    function int fputc (int, FILE*)
    function int fputs (const char*, FILE*)
    function size_t fread (void*, size_t, size_t, FILE*)
    function {FILE*} freopen (const char*, const char*, FILE*)
    function int fscanf (FILE*, const char*, ...)
    function int fseek (FILE*, long int, int)
    #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    function int fseeko (FILE*, off_t, int)
    #endif
    function int fsetpos (FILE*, const fpos_t*)
    function {long int} ftell (FILE*)
    #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    function off_t ftello (FILE*)
    #endif
    #if defined POSIX || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    function int ftrylockfile (FILE*)
    function void funlockfile (FILE*)
    #endif
    function size_t fwrite (const void*, size_t, size_t, FILE*)
    function int getc (FILE*)
    function int getchar (void)
    #if defined POSIX || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    function int getc_unlocked (FILE*)
    function int getchar_unlocked (void)
    #endif
    #if defined XOPEN2K8 || defined POSIX2008
    function ssize_t getdelim (char**, size_t*, int, FILE*)
    function ssize_t getline (char**, size_t*, FILE*)
    #endif
    #if defined XPG3 || defined XPG4 || defined UNIX98
    function int getopt (int, char *const[], const char *)
    #endif
    #if !defined ISO11
    function {char*} gets (char*)
    #endif
    #if defined XPG3 || defined XPG4 || defined UNIX98
    function int getw (FILE*)
    #endif
    #if defined XOPEN2K8 || defined POSIX2008
    function {FILE*} open_memstream (char**, size_t*)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11
    function int pclose (FILE*)
    #endif
    function void perror (const char*)
    #if !defined ISO && !defined ISO99 && !defined ISO11
    function {FILE*} popen (const char*, const char*)
    #endif
    function int printf (const char*, ...)
    function int putc (int, FILE*)
    function int putchar (int)
    #if defined POSIX || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    function int putc_unlocked (int, FILE*)
    function int putchar_unlocked (int)
    #endif
    function int puts (const char*)
    #if defined XPG3 || defined XPG4 || defined UNIX98
    function int putw (int, FILE*)
    #endif
    function int remove (const char*)
    function int rename (const char*, const char*)
    #if defined XOPEN2K8 || defined POSIX2008
    function int renameat (int, const char*, int, const char*)
    #endif
    function void rewind (FILE*)
    function int scanf (const char*, ...)
    function void setbuf (FILE*, char*)
    function int setvbuf (FILE*, char*, int, size_t)
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4
    function int snprintf (char*, size_t, const char*, ...)
    #endif
    function int sprintf (char *, const char *, ...)
    function int sscanf (const char*, const char*, ...)
    #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8
    function {char*} tempnam (const char*, const char*)
    #endif
    function {FILE*} tmpfile (void)
    function {char*} tmpnam (char*)
    function int ungetc (int, FILE*)
    #if defined XOPEN2K8 || defined POSIX2008
    function int vdprintf (int, const char*, va_list)
    #endif
    function int vfprintf (FILE*, const char*, va_list)
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function int vfscanf (FILE*, const char*, va_list)
    #endif
    function int vprintf (const char*, va_list)
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function int vscanf (const char*, va_list)
    #endif
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4
    function int vsnprintf (char*, size_t, const char*, va_list)
    #endif
    function int vsprintf (char*, const char*, va_list)
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function int vsscanf (const char*, const char*, va_list)
    #endif

    #if !defined ISO && !defined ISO99 && !defined ISO11
    #if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
    variable {char*} optarg
    variable int opterr
    variable int optind
    variable int optopt
    #endif

    #if !defined POSIX
    allow-header stddef.h
    #endif

    allow *_t
    #endif

  16. #491
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    type div_t
    element div_t int quot
    element div_t int rem
    type ldiv_t
    element ldiv_t long quot
    element ldiv_t long rem

    macro-int-constant EXIT_FAILURE
    macro-int-constant EXIT_SUCCESS == 0

    macro-constant NULL == 0
    macro-int-constant RAND_MAX >= 32767
    macro MB_CUR_MAX

    #if defined ISO99 || defined ISO11 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    type lldiv_t
    element lldiv_t {long long} quot
    element lldiv_t {long long} rem
    #endif
    type size_t
    type wchar_t

    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    constant WNOHANG
    constant WUNTRACED

    macro WEXITSTATUS
    macro WIFEXITED
    macro WIFSIGNALED
    macro WIFSTOPPED
    macro WSTOPSIG
    macro WTERMSIG
    #endif

    #if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98 && !defined POSIX
    function void _Exit (int)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function long a64l (const char*)
    #endif
    function void abort (void)
    function int abs (int)
    #if defined ISO11
    function {void *} aligned_alloc (size_t, size_t)
    #endif
    function int atexit (void(*)(void))
    #if defined ISO11
    function int at_quick_exit (void (*) (void))
    #endif
    function double atof (const char*)
    function int atoi (const char*)
    function {long int} atol (const char*)
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function {long long} atoll (const char*)
    #endif
    function {void*} bsearch (const void*, const void*, size_t, size_t, int(*)(const void*, const void*))
    function {void*} calloc (size_t, size_t)
    function div_t div (int, int)
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function double drand48 (void)
    #endif
    #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
    function {char*} ecvt (double, int, int*, int*)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function double erand48 (unsigned short int[3])
    #endif
    function void exit (int)
    #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
    function {char*} fcvt (double, int, int*, int*)
    #endif
    function void free (void*)
    #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
    function {char*} gcvt (double, int, char*)
    #endif
    function {char*} getenv (const char*)
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    function int getsubopt (char**, char *const*, char**)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function int grantpt (int)
    function {char*} initstate (unsigned int, char*, size_t)
    function {long int} jrand48 (unsigned short int[3])
    function {char*} l64a (long)
    #endif
    function {long int} labs (long int)
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function void lcong48 (unsigned short int[7])
    #endif
    function ldiv_t ldiv (long int, long int)
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function {long long} llabs (long long)
    function lldiv_t lldiv (long long, long long)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function {long int} lrand48 (void)
    #endif
    function {void*} malloc (size_t)
    function int mblen (const char*, size_t)
    function size_t mbstowcs (wchar_t*, const char*, size_t)
    function int mbtowc (wchar_t*, const char*, size_t)
    #if defined XOPEN2K8 || defined POSIX2008
    function {char*} mkdtemp (char*)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
    function {char*} mktemp (char*)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
    function int mkstemp (char*)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function {long int} mrand48 (void)
    function {long int} nrand48 (unsigned short int[3])
    #endif
    #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    function int posix_memalign (void**, size_t, size_t)
    #endif
    #if defined XOPEN2K || defined XOPEN2K8
    function int posix_openpt (int)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function {char*} ptsname (int)
    function int putenv (char*)
    #endif
    function void qsort (void*, size_t, size_t, int(*)(const void*, const void*))
    #if defined ISO11
    function void quick_exit (int)
    #endif
    function int rand (void)
    #if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    function int rand_r (unsigned int*)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function long random (void)
    #endif
    function {void*} realloc (void*, size_t)
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function {char*} realpath (const char*, char*)
    function {unsigned short int*} seed48 (unsigned short int[3])
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function int setenv (const char*, const char*, int)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function void setkey (const char*)
    function {char*} setstate (char*)
    #endif
    function void srand (unsigned int)
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function void srand48 (long int)
    function void srandom (unsigned)
    #endif
    function double strtod (const char*, char**)
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function float strtof (const char*, char**)
    function {long double} strtold (const char*, char**)
    #endif
    function {long int} strtol (const char*, char**, int)
    function {unsigned long int} strtoul (const char*, char**, int)
    #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function {long long int} strtoll (const char*, char**, int)
    function {unsigned long long int} strtoull (const char*, char**, int)
    #endif
    function int system (const char*)
    #if defined XPG3 || defined XPG4 || defined UNIX98
    function int ttyslot (void)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
    function int unlockpt (int)
    #endif
    #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function int unsetenv (const char*)
    #endif
    #if defined XPG3 || defined XPG4 || defined UNIX98
    function {void*} valloc (size_t)
    #endif
    function size_t wcstombs (char*, const wchar_t*, size_t)
    function int wctomb (char*, wchar_t)

    #if !defined ISO && !defined ISO99 && !defined ISO11
    allow-header stddef.h
    allow-header limits.h
    allow-header math.h
    allow-header sys/wait.h
    #endif

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

  17. #492
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if defined ISO11
    macro noreturn
    #endif

  18. #493
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    macro-constant NULL == 0

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

    #if !defined ISO && !defined ISO99 & !defined ISO11 && !defined POSIX && !defined POSIX2008
    function {void*} memccpy (void*, const void*, int, size_t)
    #endif
    function {void*} memchr (const void*, int, size_t)
    function int memcmp (const void*, const void*, size_t)
    function {void*} memcpy (void*, const void*, size_t)
    function {void*} memmove (void*, const void*, size_t)
    function {void*} memset (void*, int, size_t)
    #if defined XOPEN2K8 || defined POSIX2008
    function {char*} stpcpy (char*, const char*)
    function {char*} stpncpy (char*, const char*, size_t)

    #endif
    function {char*} strcat (char*, const char*)
    function {char*} strchr (const char*, int)
    function int strcmp (const char*, const char*)
    function int strcoll (const char*, const char*)
    #if defined XOPEN2K8 || defined POSIX2008
    function int strcoll_l (const char*, const char*, locale_t)
    #endif
    function {char*} strcpy (char*, const char*)
    function size_t strcspn (const char*, const char*)
    #if !defined ISO && !defined ISO99 & !defined ISO11 && !defined POSIX && !defined POSIX2008
    function {char*} strdup (const char*)
    #endif
    function {char*} strerror (int)
    #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    function int strerror_r (int, char*, size_t)
    #endif
    #if defined XOPEN2K8 || defined POSIX2008
    function {char*} strerror_l (int, locale_t)
    #endif
    function size_t strlen (const char*)
    function {char*} strncat (char*, const char*, size_t)
    function int strncmp (const char*, const char*, size_t)
    function {char*} strncpy (char*, const char*, size_t)
    #if defined XOPEN2K8 || defined POSIX2008
    function {char*} strndup (const char*, size_t)
    function size_t strnlen (const char*, size_t)
    #endif
    function {char*} strpbrk (const char*, const char*)
    function {char*} strrchr (const char*, int)
    #if defined XOPEN2K8 || defined POSIX2008
    function {char*} strsignal (int)
    #endif
    function size_t strspn (const char*, const char*)
    function {char*} strstr (const char*, const char*)
    function {char*} strtok (char*, const char*)
    #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
    function {char*} strtok_r (char*, const char*, char**)
    #endif
    function size_t strxfrm (char*, const char*, size_t)
    #if defined XOPEN2K8 || defined POSIX2008
    function size_t strxfrm_l (char*, const char*, size_t, locale_t)
    #endif

    #if !defined ISO && !defined ISO99 && !defined ISO11
    allow-header stddef.h
    #endif

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

  19. #494
    俺はまんこが大好きなんだよ 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
    # if !defined XOPEN2K8 && !defined POSIX2008
    function int bcmp (const void*, const void*, size_t)
    function void bcopy (const void*, void*, size_t)
    function void bzero (void*, size_t)
    function {char*} index (const char*, int)
    function {char*} rindex (const char*, int)
    # endif
    # if !defined POSIX2008
    function int ffs (int)
    # endif
    function int strcasecmp (const char*, const char*)
    function int strncasecmp (const char*, const char*, size_t)
    # if defined XOPEN2K8 || defined POSIX2008
    function int strcasecmp_l (const char*, const char*, locale_t)
    function int strncasecmp_l (const char*, const char*, size_t, locale_t)
    # endif

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

    allow *_t
    #endif

  20. #495
    俺はまんこが大好きなんだよ 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 bandinfo}

    element {struct bandinfo} {unsigned char} bi_pri
    element {struct bandinfo} int bi_flag

    type {struct strpeek}

    element {struct strpeek} {struct strbuf} ctlbuf
    element {struct strpeek} {struct strbuf} databuf
    element {struct strpeek} t_uscalar_t flags

    type {struct strbuf}

    element {struct strbuf} int maxlen
    element {struct strbuf} int len
    element {struct strbuf} {char*} buf

    type {struct strfdinsert}

    element {struct strfdinsert} {struct strbuf} ctlbuf
    element {struct strfdinsert} {struct strbuf} databuf
    element {struct strfdinsert} t_uscalar_t flags
    element {struct strfdinsert} int fildes
    element {struct strfdinsert} int offset

    type {struct strioctl}

    element {struct strioctl} int ic_cmd
    element {struct strioctl} int ic_timout
    element {struct strioctl} int ic_len
    element {struct strioctl} {char*} ic_dp

    type {struct strrecvfd}

    element {struct strrecvfd} int fd
    element {struct strrecvfd} uid_t uid
    element {struct strrecvfd} gid_t gid

    type uid_t
    type gid_t

    type t_uscalar_t

    type {struct str_list}

    element {struct str_list} int sl_nmods
    element {struct str_list} {struct str_mlist*} sl_modlist

    type {struct str_mlist}

    element {struct str_mlist} char l_name [FMNAMESZ+1]

    macro I_PUSH
    macro I_POP
    macro I_LOOK
    macro FMNAMESZ
    macro I_FLUSH
    macro FLUSHR
    macro FLUSHW
    macro FLUSHRW
    macro I_FLUSHBAND
    macro I_SETSIG
    macro S_RDNORM
    macro S_RDBAND
    macro S_INPUT
    macro S_HIPRI
    macro S_OUTPUT
    macro S_WRNORM
    macro S_WRBAND
    macro S_MSG
    macro S_ERROR
    macro S_HANGUP
    macro S_BANDURG
    macro I_GETSIG
    macro I_FIND
    macro I_PEEK
    macro RS_HIPRI
    macro I_SRDOPT
    macro RNORM
    macro RMSGD
    macro RMSGN
    macro RPROTNORM
    macro RPROTDAT
    macro RPROTDIS
    macro I_GRDOPT
    macro I_NREAD
    macro I_FDINSERT
    macro I_STR
    macro I_SWROPT
    macro SNDZERO
    macro I_GWROPT
    macro I_SENDFD
    macro I_RECVFD
    macro I_LIST
    macro I_ATMARK
    macro ANYMARK
    macro LASTMARK
    macro I_CKBAND
    macro I_GETBAND
    macro I_CANPUT
    macro I_SETCLTIME
    macro I_GETCLTIME
    macro I_LINK
    macro I_UNLINK
    macro I_PLINK
    macro I_PUNLINK

    macro MSG_ANY
    macro MSG_BAND
    macro MSG_HIPRI
    macro MORECTL
    macro MOREDATA

    function int isastream (int)
    function int getmsg (int, struct strbuf*, struct strbuf*, int*)
    function int getpmsg (int, struct strbuf*, struct strbuf*, int*, int*)
    function int ioctl (int, int, ...)
    function int putmsg (int, const struct strbuf*, const struct strbuf*, int)
    function int putpmsg (int, const struct strbuf*, const struct strbuf*, int, int)
    function int fattach (int, const char*)
    function int fdetach (const char*)

    allow-header unistd.h

    allow bi_*
    allow ic_*
    allow l_*
    allow sl_*
    allow str_*
    allow FLUSH*
    allow I_*
    allow M_*
    allow MUXID_R*
    allow S_*
    allow SND*
    allow STR*
    allow *_t
    #endif

  21. #496
    俺はまんこが大好きなんだよ 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 LOG_PID
    constant LOG_CONS
    constant LOG_NDELAY
    constant LOG_ODELAY
    constant LOG_NOWAIT

    constant LOG_KERN
    constant LOG_USER
    constant LOG_MAIL
    constant LOG_NEWS
    constant LOG_UUCP
    constant LOG_DAEMON
    constant LOG_AUTH
    constant LOG_CRON
    constant LOG_LPR
    constant LOG_LOCAL0
    constant LOG_LOCAL1
    constant LOG_LOCAL2
    constant LOG_LOCAL3
    constant LOG_LOCAL4
    constant LOG_LOCAL5
    constant LOG_LOCAL6
    constant LOG_LOCAL7

    macro LOG_MASK

    constant LOG_EMERG
    constant LOG_ALERT
    constant LOG_CRIT
    constant LOG_ERR
    constant LOG_WARNING
    constant LOG_NOTICE
    constant LOG_INFO
    constant LOG_DEBUG

    function void closelog (void)
    function void openlog (const char*, int, int)
    function int setlogmask (int)
    function void syslog (int, const char*, ...)

    allow LOG_*
    allow *_t
    #endif

  22. #497
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    #if !defined ISO && !defined ISO99 && !defined ISO11
    macro-str TMAGIC "ustar"
    constant TMAGLEN == 6
    macro-str TVERSION "00"
    constant TVERSLEN == 2

    constant REGTYPE
    constant AREGTYPE
    constant LNKTYPE
    constant SYMTYPE
    constant CHRTYPE
    constant BLKTYPE
    constant DIRTYPE
    constant FIFOTYPE
    constant CONTTYPE

    constant TSUID == 04000
    constant TSGID == 02000
    # if !defined POSIX && !defined POSIX2008
    constant TSVTX == 01000
    # endif
    constant TUREAD == 00400
    constant TUWRITE == 00200
    constant TUEXEC == 00100
    constant TGREAD == 00040
    constant TGWRITE == 00020
    constant TGEXEC == 00010
    constant TOREAD == 00004
    constant TOWRITE == 00002
    constant TOEXEC == 00001

    allow *_t
    #endif

  23. #498
    俺はまんこが大好きなんだよ 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 cc_t
    type speed_t
    type tcflag_t

    type {struct termios}

    #if defined XOPEN2K8 || defined POSIX2008
    type pid_t
    #endif

    element {struct termios} tcflag_t c_iflag
    element {struct termios} tcflag_t c_oflag
    element {struct termios} tcflag_t c_cflag
    element {struct termios} tcflag_t c_lflag
    element {struct termios} cc_t c_cc[NCCS]

    constant NCCS

    constant VEOF
    constant VEOL
    constant VERASE
    constant VINTR
    constant VKILL
    constant VMIN
    constant VQUIT
    constant VSTART
    constant VSTOP
    constant VSUSP
    constant VTIME

    constant BRKINT
    constant ICRNL
    constant IGNBRK
    constant IGNCR
    constant IGNPAR
    constant INLCR
    constant INPCK
    constant ISTRIP
    # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
    constant IUCLC
    # endif
    constant IXANY
    constant IXOFF
    constant IXON
    constant PARMRK

    constant OPOST
    # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
    constant OLCUC
    # endif
    # if !defined POSIX && !defined POSIX2008
    constant ONLCR
    constant OCRNL
    constant ONOCR
    constant ONLRET
    constant OFDEL
    constant OFILL
    constant NLDLY
    constant NL0
    constant NL1
    constant CRDLY
    constant CR0
    constant CR1
    constant CR2
    constant CR3
    constant TABDLY
    constant TAB0
    constant TAB1
    constant TAB2
    constant TAB3
    constant BSDLY
    constant BS0
    constant BS1
    constant VTDLY
    constant VT0
    constant VT1
    constant FFDLY
    constant FF0
    constant FF1
    # endif

    constant B0
    constant B50
    constant B75
    constant B110
    constant B134
    constant B150
    constant B200
    constant B300
    constant B600
    constant B1200
    constant B1800
    constant B2400
    constant B4800
    constant B9600
    constant B19200
    constant B38400

    constant CSIZE
    constant CS5
    constant CS6
    constant CS7
    constant CS8
    constant CSTOPB
    constant CREAD
    constant PARENB
    constant PARODD
    constant HUPCL
    constant CLOCAL

    constant ECHO
    constant ECHOE
    constant ECHOK
    constant ECHONL
    constant ICANON
    constant IEXTEN
    constant ISIG
    constant NOFLSH
    constant TOSTOP
    # if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
    constant XCASE
    # endif

    constant TCSANOW
    constant TCSADRAIN
    constant TCSAFLUSH

    constant TCIFLUSH
    constant TCIOFLUSH

    constant TCIOFF
    constant TCION
    constant TCOOFF
    constant TCOON

    function speed_t cfgetispeed (const struct termios*)
    function speed_t cfgetospeed (const struct termios*)
    function int cfsetispeed (struct termios*, speed_t)
    function int cfsetospeed (struct termios*, speed_t)
    function int tcdrain (int)
    function int tcflow (int, int)
    function int tcflush (int, int)
    function int tcgetattr (int, struct termios*)
    #ifndef POSIX
    function pid_t tcgetsid (int)
    #endif
    function int tcsendbreak (int, int)
    function int tcsetattr (int, int, const struct termios*)

    allow CBAUD
    allow DEFECHO
    allow ECHOCTL
    allow ECHOKE
    allow ECHOPRT
    allow EXTA
    allow EXTB
    allow FLUSHO
    allow LOBLK
    allow PENDIN
    allow SWTCH
    allow VDISCARD
    allow VDSUSP
    allow VLNEXT
    allow VREPRINT
    allow VSTATUS
    allow VWERASE

    allow c_*
    allow V*
    allow I*
    allow O*
    allow TC*
    allow B*
    allow *_t
    #endif

  24. #499
    俺はまんこが大好きなんだよ 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 && !defined UNIX98
    #include "math.h-data"
    #include "complex.h-data"

    macro acos
    macro asin
    macro atan
    macro acosh
    macro asinh
    macro atanh
    macro cos
    macro sin
    macro tan
    macro cosh
    macro sinh
    macro tanh
    macro exp
    macro pow
    macro sqrt
    macro fabs

    macro atan2
    macro cbrt
    macro ceil
    macro copysign
    macro erf
    macro erfc
    macro exp2
    macro expm1
    macro fdim
    macro floor
    macro fma
    macro fmax
    macro fmin
    macro fmod
    macro frexp
    macro hypot
    macro ilogb
    macro ldexp
    macro lgamma
    macro llrint
    macro llround
    macro log10
    macro log1p
    macro log2
    macro logb
    macro lrint
    macro lround
    macro nearbyint
    macro nextafter
    macro nexttoward
    macro remainder
    macro remquo
    macro rint
    macro round
    macro scalbn
    macro scalbln
    macro tgamma
    macro trunc

    macro carg
    macro cimag
    macro conj
    macro cproj
    macro creal
    #endif

  25. #500
    俺はまんこが大好きなんだよ baseline bum's Avatar
    My Team
    San Antonio Spurs
    Join Date
    Mar 2003
    Post Count
    97,881
    macro-constant NULL == 0
    macro CLOCKS_PER_SEC {clock_t}

    #ifdef ISO11
    macro-int-constant TIME_UTC > 0
    #endif

    #if !defined ISO && !defined ISO99 && !defined XPG3 && !defined XPG4
    type {struct timespec}

    element {struct timespec} time_t tv_sec
    element {struct timespec} long tv_nsec
    #endif

    type size_t
    type clock_t
    type time_t

    type {struct tm}

    element {struct tm} int tm_sec
    element {struct tm} int tm_min
    element {struct tm} int tm_hour
    element {struct tm} int tm_mday
    element {struct tm} int tm_mon
    element {struct tm} int tm_year
    element {struct tm} int tm_wday
    element {struct tm} int tm_yday
    element {struct tm} int tm_isdst

    function clock_t clock (void)
    function double difftime (time_t, time_t)
    function time_t mktime (struct tm*)
    function time_t time (time_t*)
    function {char*} asctime (const struct tm*)
    function {char*} ctime (const time_t*)
    function {struct tm*} gmtime (const time_t*)
    function {struct tm*} localtime (const time_t*)
    function size_t strftime (char*, size_t, const char*, const struct tm*)
    #if defined ISO11
    function int timespec_get (struct timespec *, int)
    #endif

    #if !defined ISO && !defined ISO99 && !defined ISO11
    # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
    symbol CLK_TCK
    # endif
    # if !defined XPG3 && !defined XPG4
    constant CLOCK_PROCESS_CPUTIME_ID
    constant CLOCK_THREAD_CPUTIME_ID

    type {struct itimerspec}

    element {struct itimerspec} {struct timespec} it_interval
    element {struct itimerspec} {struct timespec} it_value

    constant CLOCK_REALTIME
    constant TIMER_ABSTIME
    constant CLOCK_MONOTONIC

    type clockid_t
    type timer_t
    # endif

    # if defined XOPEN2K8 || defined POSIX2008
    type pid_t
    type locale_t
    tag {struct sigevent}
    # endif

    # if !defined POSIX && !defined POSIX2008
    variable int getdate_err
    # endif

    function {char*} asctime_r (const struct tm*, char*)
    #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function int clock_getcpuclockid (pid_t, clockid_t*)
    #endif
    #if !defined XPG3 && !defined XPG4
    function int clock_getres (clockid_t, struct timespec*)
    function int clock_gettime (clockid_t, struct timespec*)
    #endif
    #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
    function int clock_nanosleep (clockid_t, int, const struct timespec*, struct timespec*)
    #endif
    #if !defined XPG3 && !defined XPG4
    function int clock_settime (clockid_t, const struct timespec*)
    #endif
    function {char*} ctime_r (const time_t*, char*)
    # if !defined POSIX && !defined POSIX2008
    function {struct tm*} getdate (const char*)
    # endif
    function {struct tm*} gmtime_r (const time_t*, struct tm*)
    function {struct tm*} localtime_r (const time_t*, struct tm*)
    # if !defined XPG3 && !defined XPG4
    function int nanosleep (const struct timespec*, struct timespec*)
    # endif
    # if defined XOPEN2K8 || defined POSIX2008
    function size_t strftime_l (char*, size_t, const char*, const struct tm*, locale_t)
    # endif
    # if !defined POSIX && !defined POSIX2008
    function {char*} strptime (const char*, const char*, struct tm*)
    # endif
    # if !defined XPG3 && !defined XPG4
    function int timer_create (clockid_t, struct sigevent*, timer_t*)
    function int timer_delete (timer_t)
    function int timer_gettime (timer_t, struct itimerspec*)
    function int timer_getoverrun (timer_t)
    function int timer_settime (timer_t, int, const struct itimerspec*, struct itimerspec*)
    # endif
    function void tzset (void)

    # if !defined POSIX && !defined POSIX2008
    variable int daylight
    variable {long int} timezone
    # endif
    variable {char*} tzname [2]

    allow tm_*
    allow clock_*
    allow timer_*
    allow it_*
    allow tv_*
    allow CLOCK_*
    allow TIMER_*
    allow *_t
    allow sigevent
    #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
  •