@chapter What Unix API calls are supported by Cygwin32?

This is the beginning of documentation listing the calls supported
by the Cygwin32 library.

All POSIX.1/1990 and ANSI C calls are listed in this file.  Some
but not all POSIX.1/1996 calls are listed.  Additional Unix
compatibility calls and extended libc/libm calls are provided by
Cygwin32 but may or may not be listed yet.

To see if a function is implemented but not listed here, check for the
presence of the call in the file winsup/cygwin.din in the sources.  In
addition, you may want to read the source code corresponding to the call
to verify that it is not a stub.  Finally, libc/libm functions
(including extended calls not listed here) may be documented in the
newlib texinfo documentation.

Calls are implemented on both Windows 95 and NT unless otherwise
noted.  Included are references to relevant standards, if any.
Calls starting with "cygwin32_" are Cygwin32-specific calls.

@section ANSI C Library Functions

@itemize @code

@item libc stdio (newlib/libc/stdio)
@itemize @code
@item clearerr: C 4.9.10.1
@item fclose: C 4.9.5.1, P 8.2.3.2
@item feof: C 4.9.10.2
@item ferror: C 4.9.10.3
@item fflush: C 4.9.5.2, P 8.2.3.4
@item fgetc: C 4.9.7.1, P 8.2.3.5
@item fgetpos: C 4.9.9.1
@item fgets: C 4.9.7.2, P 8.2.3.5
@item fopen: C 4.9.5.3, P 8.2.3.1
@item fprintf: C 4.9.7.3, P 8.2.3.6
@item fputc: C 4.9.7.3, P 8.2.3.6
@item fputs: C 4.9.7.4, P 8.2.3.6
@item fread: C 4.9.8.1, P 8.2.3.5
@item freopen: C 4.9.5.4, P 8.2.3.3
@item fscanf: C 4.9.6.2, P 8.2.3.7
@item fseek: C 4.9.9.2, P 8.2.3.7
@item fsetpos: C 4.9.9.3
@item ftell: C 4.9.9.4, P 8.2.3.10
@item fwrite: C 4.9.8.2, P 8.2.3.6
@item getc: C 4.9.7.5, P 8.2.3.5
@item getchar: C 4.9.7.6, P 8.2.3.5
@item gets: C 4.9.7.7, P 8.2.3.5
@item perror: C 4.9.10.4, P 8.2.3.8
@item printf: C 4.9.6.3, P 8.2.3.6
@item putc: C 4.9.7.8, P 8.2.3.6
@item putchar: C 4.9.7.9, P 8.2.3.6
@item puts: C 4.9.7.10, P 8.2.3.6
@item remove: C 4.9.4.1, P 8.2.4
@item rename: C 4.9.4.2, P 5.5.3.1
@item rewind: C 4.9.9.5, P 8.2.3.7
@item scanf: C 4.9.6.4, P 8.2.3.5
@item setbuf: C 4.9.5.5
@item setvbuf: C 4.9.5.6
@item sprintf: C 4.9.6.5
@item sscanf: C 4.9.6.6
@item tmpfile: C 4.9.4.3, P 8.2.3.9
@item tmpnam: C 4.9.4.4, P 8.2.5
@item vfprintf: C 4.9.6.7
@item ungetc: C 4.9.7.11
@item vprintf: C 4.9.6.8
@item vsprintf: C 4.9.6.9
@end itemize

@item libc string (newlib/libc/string)
@itemize @code
@item memchr: C 4.11.5.1
@item memcmp: C 4.11.4.1
@item memcpy: C 4.11.2.1
@item memmove: C 4.11.2.2
@item memset: C 4.11.6.1
@item strcat: C 4.11.3.1
@item strchr: C 4.11.5.2
@item strcmp: C 4.11.4.2
@item strcoll: C 4.11.4.3
@item strcpy: C 4.11.2.3
@item strcspn: C 4.11.5.3
@item strerror: C 4.11.6.2
@item strlen: C 4.11.6.3
@item strncat: C 4.11.3.2
@item strncmp: C 4.11.3.2
@item strncpy: C 4.11.2.4
@item strpbrk: C 4.11.5.4
@item strrchr: C 4.11.5.5
@item strspn: C 4.11.5.6
@item strstr: C 4.11.5.7
@item strtok: C 4.11.5.8
@item strxfrm: C 4.11.4.5
@end itemize

@item libc stdlib (newlib/libc/stdlib, environ.cc, newlib/libc/include/machine/setjmp.h newlib/libc/include/assert.h)
@itemize @code
@item abort: C 4.10.4.1, P 8.2.3.12
@item abs: C 4.10.6.1
@item assert: C 4.2.1.1
@item atexit: C 4.10.4.2
@item atof: C 4.10.1.1
@item atoi: C 4.10.1.2
@item atol: C 4.10.1.3
@item bsearch: C 4.10.5.1
@item calloc: C 4.10.3.1
@item div: C 4.10.6.2
@item exit: C 4.10.4.3, P 8.2.3.12
@item free: C 4.10.3.2
@item getenv: C 4.10.4.4, P 4.6.1.1
@item labs: C 4.10.6.3
@item ldiv: C 4.10.6.2
@item longjmp: C 4.6.2.1
@item malloc: C 4.10.3.3
@item mblen: C 4.10.7.1
@item mbstowcs: C 4.10.8.1
@item mbtowc: C 4.10.7.2
@item qsort: 4.10.5.2
@item rand: C 4.10.2.1
@item realloc: C 4.10.3.4
@item setjmp: C 4.6.1.1
@item srand: C 4.10.2.2
@item strtod: C 4.10.1.4
@item strtol: C 4.10.1.5
@item strtoul: C 4.10.1.6
@item system: C 4.10.4.5
@item wcstombs: C 4.10.8.2
@item wctomb: C 4.10.7.3
@end itemize

@item libc time (times.cc, newlib/libc/time)
@itemize @code
@item asctime: C 4.12.3.1
@item gmtime: C 4.12.3.3
@item localtime: C 4.12.3.4, P 8.1.1
@item time: C 4.12.2.4, P 4.5.1.1
@item clock: C 4.12.2.1
@item ctime: C 4.12.3.2
@item difftime: C 4.12.2.2
@item mktime: C 4.12.2.3, P 8.1.1
@item strftime: C 4.11.6.2
@end itemize

@item libc signals (signal.cc, newlib/libc/signal)
@itemize @code
@item raise: C 4.7.2.1
@item signal: C 4.7.1.1
@end itemize

@item libc ctype (newlib/libc/ctype)
@itemize @code
@item isalnum: C 4.3.1.1
@item isalpha: C 4.3.1.2
@item iscntrl: C 4.3.1.3
@item isdigit: C 4.3.1.4
@item isgraph: C 4.3.1.5
@item islower: C 4.3.1.6
@item isprint: C 4.3.1.7
@item ispunct: C 4.3.1.8
@item isspace: C 4.3.1.9
@item isupper: C 4.3.1.10
@item isxdigit: C 4.3.1.11
@item tolower: C 4.3.2.1
@item toupper: C 4.3.2.2
@end itemize

@item libm math (newlib/libm/math)
@itemize @code
@item acos: C 4.5.2.1
@item asin: C 4.5.2.2
@item atan: C 4.5.2.3
@item atan2: C 4.5.2.4
@item ceil: C 4.5.6.1
@item cos: C 4.5.2.5
@item cosh: C 4.5.3.2
@item exp: C 4.5.4.1
@item fabs: C 4.5.6.2
@item floor: C 4.5.6.3
@item fmod: C 4.5.6.4
@item frexp: C 4.5.4.2
@item ldexp: C 4.5.4.3
@item log: C 4.5.4.4
@item log10: C 4.5.4.5
@item modf: C 4.5.4.6
@item pow: C 4.5.5.1
@item sin: C 4.5.2.6
@item sinh: C 4.5.3.2
@item sqrt: C 4.5.5.2
@item tan: C 4.5.2.7
@item tanh: C 4.5.3.3
@end itemize

@item libc misc (newlib/libc/locale, gcc/ginclude/stdarg.h)
@itemize @code
@item localeconv: C 4.4.2.1
@item setlocale: C 4.4.1.1, P 8.1.2.1
@item va_arg: C 4.8.1.2
@item va_end: C 4.8.1.3
@item va_start: C 4.8.1.1
@end itemize

@section POSIX.1/96 Functions

@item Process Primitives (Section 3)
@itemize @code
@item fork: P 3.1.1.1
@item execl: P 3.1.2.1
@item execle: P 3.1.2.1
@item execlp: P 3.1.2.1
@item execv: P 3.1.2.1
@item execve: P 3.1.2.1
@item execvp: P 3.1.2.1
@item pthread_atfork: P96 3.1.3.1 -- unimplemented
@item wait: P 3.2.1.1
@item waitpid: P 3.2.1.1
@item _exit: P 3.2.2.1
@item kill: P 3.3.2.1
@item sigemptyset: P 3.3.3.1
@item sigfillset: P 3.3.3.1
@item sigaddset: P 3.3.3.1
@item sigdelset: P 3.3.3.1
@item sigismember: P 3.3.3.1
@item sigaction: P 3.3.4.1 
@item pthread_sigmask: P96 3.3.5.1
@item sigprocmask: P 3.3.5.1
@item sigpending: P 3.3.6.1
@item sigsuspend: P 3.3.7.1
@item sigwait: P96 3.3.8.1 -- unimplemented
@item sigwaitinfo: P96 3.3.8.1 -- unimplemented
@item sigtimedwait: P96 3.3.8.1 -- unimplemented
@item sigqueue: P96 3.3.9.1 -- unimplemented
@item pthread_kill: P96 3.3.10.1 -- unimplemented
@item alarm: P 3.4.1.1
@item pause: P 3.4.2.1
@item sleep: P 3.4.3.1
@end itemize

@item Process Environment (Section 4)
@itemize @code
@item getpid: P 4.1.1.1
@item getppid: P 4.1.1.1
@item getuid: P 4.2.1.1
@item geteuid: P 4.2.1.1
@item getgid: P 4.2.1.1
@item getegid: P 4.2.1.1
@item setuid: P 4.2.2.1 (stub, sets ENOSYS, returns zero)
@item setgid: P 4.2.2.1 (stub, sets ENOSYS, returns zero)
@item getgroups: P 4.2.3.1
@item getlogin: P 4.2.4.1
@item getlogin_r: P 4.2.4.1 -- unimplemented
@item getpgrp: P 4.3.1.1
@item setsid: P 4.3.2.1
@item setpgid: P 4.3.3.1
@item uname: P 4.4.1.1
@item time: C 4.12.2.4, P 4.5.1.1
@item times: P 4.5.2.1
@item getenv: C 4.10.4.4, P 4.6.1.1
@item ctermid: P 4.7.1.1
@item ttyname: P 4.7.2.1
@item ttyname_r: P 4.7.2.1 -- unimplemented
@item isatty: P 4.7.2.1
@item sysconf: P 4.8.1.1
@end itemize

@item Files and Directories (Section 5)
@itemize @code
@item opendir: P 5.1.2.1
@item readdir: P 5.1.2.1
@item readdir_r: P96 5.1.2.1 -- unimplemented
@item rewinddir: P 5.1.2.1
@item closedir: P 5.1.2.1
@item chdir: P 5.2.1.1
@item getcwd: P 5.2.2.1
@item open: P 5.3.1.1
@item creat: P 5.3.2.1
@item umask: P 5.3.3.1
@item link: P 5.3.4.1 (copy file in Win 95, and when link fails in NT)
@item mkdir: P 5.4.1.1
@item mkfifo: P 5.4.2.1 -- unimplemented!!!
@item unlink: P 5.5.1.1
@item rmdir: P 5.5.2.1
@item rename: C 4.9.4.2, P 5.5.3.1
@item stat: P 5.6.2.1
@item fstat: P 5.6.2.1
@item access: P 5.6.3.1
@item chmod: P 5.6.4.1
@item fchmod: P96 5.6.4.1
@item chown: P 5.6.5.1 (stub in Win 95; always returns zero)
@item utime: P 5.6.6.1
@item ftruncate: P96 5.6.7.1
@item pathconf: P 5.7.1.1
@item fpathconf: P 5.7.1.1
@end itemize

@item Input and Output Primitives (Section 6)
@itemize @code
@item pipe: P 6.1.1.1
@item dup: P 6.2.1.1
@item dup2: P 6.2.1.1
@item close: P 6.3.1.1
@item read: P 6.4.1.1
@item write: P 6.4.2.1
@item fcntl: P 6.5.2.1 (note: fcntl(fd, F_GETLK,...) is not implemented (returns -1 with errno set to ENOSYS)).
@item lseek: P 6.5.3.1 (note: only works correctly on binary files)
@item fsync: P96 6.6.1.1
@item fdatasync: P96 6.6.2.1 -- unimplemented
@item aio_read: P96 6.7.2.1 -- unimplemented
@item aio_write: P96 6.7.3.1 -- unimplemented
@item lio_listio: P96 6.7.4.1 -- unimplemented
@item aio_error: P96 6.7.5.1 -- unimplemented
@item aio_return: P96 6.7.6.1 -- unimplemented
@item aio_cancel: P96 6.7.7.1 -- unimplemented
@item aio_suspend: P96 6.7.8.1 -- unimplemented
@item aio_fsync: P96 6.7.9.1 -- unimplemented
@end itemize

@item Device- and Class-Specific Functions (Section 7)
@itemize @code
@item cfgetispeed: P96 7.1.3.1
@item cfgetospeed: P96 7.1.3.1
@item cfsetispeed: P96 7.1.3.1
@item cfsetospeed: P96 7.1.3.1
@item tcdrain: P 7.2.2.1
@item tcflow: P 7.2.2.1
@item tcflush: P 7.2.2.1
@item tcgetattr: P96 7.2.1.1
@item tcgetpgrp: P 7.2.3.1
@item tcsendbreak: P 7.2.2.1
@item tcsetattr: P96 7.2.1.1
@item tcsetpgrp: P 7.2.4.1
@end itemize

@item Language-Specific Services for the C Programming Language
(Section 8)
@itemize @code
@item abort: C 4.10.4.1, P 8.2.3.12
@item asctime_r: P96 8.3.4.1 -- unimplemented
@item ctime_r: P96 8.3.5.1 -- unimplemented
@item exit: C 4.10.4.3, P 8.2.3.12
@item fclose: C 4.9.5.1, P 8.2.3.2
@item fdopen: P 8.2.2.1
@item fflush: C 4.9.5.2, P 8.2.3.4
@item fgetc: C 4.9.7.1, P 8.2.3.5
@item fgets: C 4.9.7.2, P 8.2.3.5
@item fileno: P 8.2.1.1
@item flockfile: P96 8.2.6.1 -- unimplemented
@item fopen: C 4.9.5.3, P 8.2.3.1
@item fprintf: C 4.9.7.3, P 8.2.3.6
@item fputc: C 4.9.7.3, P 8.2.3.6
@item fputs: C 4.9.7.4, P 8.2.3.6
@item fread: C 4.9.8.1, P 8.2.3.5
@item freopen: C 4.9.5.4, P 8.2.3.3
@item fscanf: C 4.9.6.2, P 8.2.3.7
@item fseek: C 4.9.9.2, P 8.2.3.7
@item ftell: C 4.9.9.4, P 8.2.3.10
@item ftrylockfile: P96 8.2.6.1 -- unimplemented
@item funlockfile: P96 8.2.6.1 -- unimplemented
@item fwrite: C 4.9.8.2, P 8.2.3.6
@item getc: C 4.9.7.5, P 8.2.3.5
@item getc_unlocked: P96 8.2.7.1 -- unimplemented
@item getchar: C 4.9.7.6, P 8.2.3.5
@item getchar_unlocked: P96 8.2.7.1 -- unimplemented
@item gets: C 4.9.7.7, P 8.2.3.5
@item gmtime_r: P96 8.3.6.1 -- unimplemented
@item localtime_r: P96 8.3.7.1 -- unimplemented
@item perror: C 4.9.10.4, P 8.2.3.8
@item printf: C 4.9.6.3, P 8.2.3.6
@item putc: C 4.9.7.8, P 8.2.3.6
@item putc_unlocked: P96 8.2.7.1 -- unimplemented
@item putchar: C 4.9.7.9, P 8.2.3.6
@item putchar_unlocked: P96 8.2.7.1 -- unimplemented
@item puts: C 4.9.7.10, P 8.2.3.6
@item rand_r: P96 8.3.8.1 -- unimplemented
@item remove: C 4.9.4.1, P 8.2.4
@item rewind: C 4.9.9.5, P 8.2.3.7
@item scanf: C 4.9.6.4, P 8.2.3.5
@item setlocale: C 4.4.1.1, P 8.1.2.1
@item siglongjmp: P 8.3.1.1
@item sigsetjmp: P 8.3.1.1
@item strtok_r: P96 8.3.3.1 -- unimplemented
@item tmpfile: C 4.9.4.3, P 8.2.3.9
@item tmpnam: C 4.9.4.4, P 8.2.5
@item tzset: P 8.3.2.1
@end itemize

@item System Databases (Section 9)
@itemize @code
@item getgrgid: P 9.2.1.1
@item getgrgid_r: P96 9.2.1.1 -- unimplemented
@item getgrnam: P 9.2.1.1
@item getgrnam_r: P96 9.2.1.1 -- unimplemented
@item getpwnam: P 9.2.2.1
@item getpwnam_r: P96 9.2.2.1 -- unimplemented
@item getpwuid: P 9.2.2.1
@item getpwuid_r: P96 9.2.2.1 -- unimplemented
@end itemize

@item Synchronization (Section 11)
@itemize @code
@item pthread_cond_broadcast: P96 11.4.3.1 -- unimplemented
@item pthread_cond_destroy: P96 11.4.2.1 -- unimplemented
@item pthread_cond_init: P96 11.4.2.1 -- unimplemented
@item pthread_cond_signal: P96 11.4.3.1 -- unimplemented
@item pthread_cond_timedwait: P96 11.4.4.1 -- unimplemented
@item pthread_cond_wait: P96 11.4.4.1 -- unimplemented
@item pthread_condattr_destroy: P96 11.4.1.1 -- unimplemented
@item pthread_condattr_getpshared: P96 11.4.1.1 -- unimplemented
@item pthread_condattr_init: P96 11.4.1.1 -- unimplemented
@item pthread_condattr_setpshared: P96 11.4.1.1 -- unimplemented
@item pthread_mutex_destroy: P96 11.3.2.1 -- unimplemented
@item pthread_mutex_init: P96 11.3.2.1 -- unimplemented
@item pthread_mutex_lock: P96 11.3.3.1 -- unimplemented
@item pthread_mutex_trylock: P96 11.3.3.1 -- unimplemented
@item pthread_mutex_unlock: P96 11.3.3.1 -- unimplemente
@item sem_close: P96 11.2.4.1 -- unimplemented
@item sem_destroy: P96 11.2.2.1 -- unimplemented
@item sem_getvalue: P96 11.2.8.1 -- unimplemented
@item sem_init: P96 11.2.1.1 -- unimplemented
@item sem_open: P96 11.2.3.1 -- unimplemented
@item sem_post: P96 11.2.7.1 -- unimplemented
@item sem_trywait: P96 11.2.6.1 -- unimplemented
@item sem_unlink: P96 11.2.5.1 -- unimplemented
@item sem_wait: P96 11.2.6.1 -- unimplemented
@end itemize

@item Memory Management (Section 12)
@itemize @code
@item mlock: P96 12.1.2.1 -- unimplemented
@item mlockall: P96 12.1.1.1 -- unimplemented
@item mmap: P96 12.2.1.1
@item mprotect: P96 12.2.3.1 
@item msync: P96 12.2.4.1
@item munlock: P96 12.1.2.1 -- unimplemented
@item munlockall: P96 12.1.1.1 -- unimplemented
@item munmap: P96 12.2.2.1 
@item shm_open: P96 12.3.1.1 -- unimplemented
@item shm_unlink: P96 12.3.2.1 -- unimplemented
@end itemize

@item Execution Scheduling (Section 13)
@itemize @code
@item pthread_attr_getinheritsched: P96 13.5.1.1 -- unimplemented
@item pthread_attr_getschedparam: P96 13.5.1.1 -- unimplemented
@item pthread_attr_getschedpolicy: P96 13.5.1.1 -- unimplemented
@item pthread_attr_getscope: P96 13.5.1.1 -- unimplemented
@item pthread_attr_setinheritsched: P96 13.5.1.1 -- unimplemented
@item pthread_attr_setschedparam: P96 13.5.1.1 -- unimplemented
@item pthread_attr_setschedpolicy: P96 13.5.1.1 -- unimplemented
@item pthread_attr_setscope: P96 13.5.1.1 -- unimplemented
@item pthread_getschedparam: P96 13.5.2.1 -- unimplemented
@item pthread_mutex_getprioceiling: P96 13.6.2.1 -- unimplemented
@item pthread_mutex_setprioceiling: P96 13.6.2.1 -- unimplemented
@item pthread_mutexattr_getprioceiling: P96 13.6.1.1 -- unimplemented
@item pthread_mutexattr_getprotocol: P96 13.6.1.1 -- unimplemented
@item pthread_mutexattr_setprioceiling: P96 13.6.1.1 -- unimplemented
@item pthread_mutexattr_setprotocol: P96 13.6.1.1 -- unimplemented
@item pthread_setschedparam: P96 13.5.2.1 -- unimplemented
@item sched_get_priority_max: P96 13.3.6.1 -- unimplemented
@item sched_get_priority_min: P96 13.3.6.1 -- unimplemented
@item sched_getparam: P96 13.3.2.1 -- unimplemented
@item sched_getscheduler: P96 13.3.4.1 -- unimplemented
@item sched_rr_get_interval: P96 13.3.6.1 -- unimplemented
@item sched_setparam: P96 13.3.1.1 -- unimplemented
@item sched_setscheduler: P96 13.3.3.1 -- unimplemented
@item sched_yield: P96 13.3.5.1 -- unimplemented
@end itemize

@item Clocks and Timers (Section 14)
@itemize @code
@item clock_getres: P96 14.2.1.1 -- unimplemented
@item clock_gettime: P96 14.2.1.1 -- unimplemented
@item clock_settime: P96 14.2.1.1 -- unimplemented
@item nanosleep: P96 14.2.5.1 -- unimplemented
@item timer_create: P96 14.2.2.1 -- unimplemented
@item timer_delete: P96 14.2.3.1 -- unimplemented
@item timer_getoverrun: P96 14.2.4.1 -- unimplemented
@item timer_gettime: P96 14.2.4.1 -- unimplemented
@item timer_settime: P96 14.2.4.1 -- unimplemented
@end itemize

@item Message Passing (Section 15)
@itemize @code
@item mq_close: P96 15.2.2.1 -- unimplemented
@item mq_getattr: P96 15.2.8.1 -- unimplemented
@item mq_notify: P96 15.2.6.1 -- unimplemented
@item mq_open: P96 15.2.1.1 -- unimplemented
@item mq_receive: P96 15.2.5.1 -- unimplemented
@item mq_send: P96 15.2.4.1 -- unimplemented
@item mq_setattr: P96 15.2.7.1 -- unimplemented
@item mq_unlink: P96 15.2.3.1 -- unimplemented
@end itemize

@item Thread Management (Section 16)
@itemize @code
@item pthread_attr_destroy: P96 16.2.1.1 -- unimplemented
@item pthread_attr_getdetachstate: P96 16.2.1.1 -- unimplemented
@item pthread_attr_getstackaddr: P96 16.2.1.1 -- unimplemented
@item pthread_attr_getstacksize: P96 16.2.1.1 -- unimplemented
@item pthread_attr_init: P96 16.2.1.1 -- unimplemented
@item pthread_attr_setdetachstate: P96 16.2.1.1 -- unimplemented
@item pthread_attr_setstackaddr: P96 16.2.1.1 -- unimplemented
@item pthread_attr_setstacksize: P96 16.2.1.1 -- unimplemented
@item pthread_create: P96 16.2.2.1 -- unimplemented
@item pthread_detach: P96 16.2.4.1 -- unimplemented
@item pthread_equal: P96 16.2.7.1 -- unimplemented
@item pthread_exit: P96 16.2.5.1 -- unimplemented
@item pthread_join: P96 16.2.3.1 -- unimplemented
@item pthread_once: P96 16.2.8.1 -- unimplemented
@item pthread_self: P96 16.2.6.1 -- unimplemented
@end itemize

@item Thread-Specific Data (Section 17)
@itemize @code
@item pthread_getspecific: P96 17.1.2.1 -- unimplemented
@item pthread_key_create: P96 17.1.1.1 -- unimplemented
@item pthread_key_delete: P96 17.1.3.1 -- unimplemented
@item pthread_setspecific: P96 17.1.2.1 -- unimplemented
@end itemize

@item Thread Cancellation (Section 18)
@itemize @code
@item pthread_cancel: P96 18.2.1.1 -- unimplemented
@item pthread_cleanup_pop: P96 18.2.3.1 -- unimplemented
@item pthread_cleanup_push: P96 18.2.3.1 -- unimplemented
@item pthread_setcancelstate: P96 18.2.2.1 -- unimplemented
@item pthread_setcanceltype: P96 18.2.2.1 -- unimplemented
@item pthread_testcancel: P96 18.2.2.1 -- unimplemented
@end itemize

@section Misc Functions

@item Networking (net.cc) (standardized by POSIX 1.g, which is probably still in draft?)
@itemize @code
@item accept
@item bind
@item connect
@item getdomainname
@item gethostbyaddr
@item gethostbyname
@item getpeername
@item getprotobyname
@item getprotobynumber
@item getservbyname
@item getservbyport
@item getsockname
@item getsockopt
@item herror
@item htonl
@item htons
@item inet_addr
@item inet_makeaddr
@item inet_netof
@item inet_ntoa
@item listen
@item ntohl
@item ntohs
@item rcmd
@item recv
@item recvfrom
@item rexec
@item rresvport
@item send
@item sendto
@item setsockopt
@item shutdown
@item socket
@item socketpair
@end itemize

@item Other
@itemize @code
@item chroot (stub, sets ENOSYS, returns -1)
@item closelog
@item cwait
@item cygwin32_conv_to_full_posix_path
@item cygwin32_conv_to_full_win32_path
@item cygwin32_conv_to_posix_path
@item cygwin32_conv_to_win32_path
@item cygwin32_posix_path_list_p
@item cygwin32_posix_to_win32_path_list
@item cygwin32_posix_to_win32_path_list_buf_size
@item cygwin32_split_path
@item cygwin32_win32_to_posix_path_list
@item cygwin32_win32_to_posix_path_list_buf_size
@item cygwin32_winpid_to_pid
@item dlclose
@item dlerror
@item dlfork
@item dlopen
@item dlsym
@item endgrent
@item ffs
@item fstatfs
@item ftime
@item get_osfhandle
@item getdtablesize
@item getgrent
@item gethostname
@item getitimer
@item getmntent
@item getpagesize
@item getpgid
@item getpwent
@item gettimeofday: BSD
@item grantpt
@item initgroups (stub)
@item ioctl
@item killpg
@item login
@item logout
@item lstat
@item mknod (stub, sets ENOSYS, returns -1)
@item memccpy
@item nice
@item openlog
@item pclose
@item popen
@item ptsname
@item putenv
@item random
@item readv
@item realpath
@item regfree
@item rexec
@item select
@item setegid: SVR4 (stub, sets ENOSYS, returns zero)@item endpwent
@item setenv
@item seterrno
@item seteuid (stub, sets ENOSYS, returns zero)
@item setitimer
@item setmntent
@item setmode
@item setpassent
@item setpgrp
@item setpwent
@item settimeofday: BSD (stub, set ENOSYS, return -1)
@item sexecl
@item sexecle
@item sexeclp
@item sexeclpe
@item sexeclpe
@item sexecp
@item sexecv
@item sexecve
@item sexecvpe
@item sigpause
@item spawnl (spawn calls are from Windows C library)
@item spawnle
@item spawnlp
@item spawnlpe
@item spawnv
@item spawnve
@item spawnvp
@item spawnvpe
@item srandom
@item statfs
@item strsignal
@item strtosigno
@item swab
@item syslog
@item timezone
@item truncate
@item ttyslot
@item unlockpt
@item unsetenv
@item usleep
@item utimes
@item vfork: stub that calls fork
@item vhangup (stub, sets ENOSYS, returns -1)
@item wait3
@item wait4
@item wcscmp
@item wcslen
@item wprintf
@item writev
@end itemize

@end itemize

