From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson) Subject: Re: List of supported/unsupported function calls... 1 Jun 1997 01:21:57 -0700 Sender: mail AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199706010619.QAA10158.cygnus.gnu-win32@mundook.cs.mu.OZ.AU> Original-To: da AT maigret DOT cog DOT brown DOT edu (David Ascher) Original-Cc: gnu-win32 AT cygnus DOT com (Cygnus GNU-win32 mailing list) In-Reply-To: from "David Ascher" at May 31, 97 04:17:00 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Original-Sender: owner-gnu-win32 AT cygnus DOT com David Ascher, you wrote: > > I understand that those who know are better off spending time fixing the > holes than maintaining a list thereof -- so I volunteer to be the > maintainer of that list, if that'll help. Now, to start this list, it'd > help to have a list of the target function set -- is POSIX.1 available on > the net? Is there a better 'master list' to start from? The following was posted on comp.std.c a few years ago. ANSI C and POSIX.1 Symbol/Header Cross Reference ================================================ The following list provides a cross reference table between ANSI/ISO Standard C and POSIX P1003.1 symbols The table includes the following fields (in order): Std - which standard defines the symbol ANSI/ISO Standard C, or POSIX P1003.1 Primary Header - the header where the symbol is declared or defined. Symbols that are defined in multiple headers have multiple entries in the cross-reference table. Symbol Type - macro, function, variable, struct, or typedef. Note that any function can also (optionally) exist as a macro, and that some symbols can be either macros or functions depending on the implemention. Symbol - actual identifier. Functions and function-like macros are shown with parens Prerequisite Headers - other headers that should be included before the primary header in code using this function Primary Symbol Prerequisite Std. Header Type Symbol Headers ==== ======= ====== ====== ============ ANSI macro NDEBUG ANSI function isalnum() POSIX function readdir() POSIX struct dirent POSIX typedef DIR POSIX macro EINTR ANSI macro NDEBUG ANSI macro assert() ANSI function isalnum() ANSI function isalpha() ANSI function iscntrl() ANSI function isdigit() ANSI function isgraph() ANSI function islower() ANSI function isprint() ANSI function ispunct() ANSI function isspace() ANSI function isupper() ANSI function isxdigit() ANSI function tolower() ANSI function toupper() POSIX function closedir() POSIX function opendir() POSIX function readdir() POSIX function rewinddir() POSIX struct dirent POSIX typedef DIR POSIX macro E2BIG POSIX macro EACCES POSIX macro EAGAIN POSIX macro EBADF POSIX macro EBUSY POSIX macro ECHILD POSIX macro EDEADLK ANSI macro EDOM POSIX macro EEXIST POSIX macro EFAULT POSIX macro EFBIG POSIX macro EINTR POSIX macro EINVAL POSIX macro EIO POSIX macro EISDIR POSIX macro EMFILE POSIX macro EMLINK POSIX macro ENAMETOOLONG POSIX macro ENFILE POSIX macro ENODEV POSIX macro ENOENT POSIX macro ENOEXEC POSIX macro ENOLCK POSIX macro ENOMEM POSIX macro ENOSPC POSIX macro ENOSYS POSIX macro ENOTDIR POSIX macro ENOTEMPTY POSIX macro ENOTTY POSIX macro ENXIO POSIX macro EPERM POSIX macro EPIPE ANSI macro ERANGE POSIX macro EROFS POSIX macro ESPIPE POSIX macro ESRCH POSIX macro EXDEV ANSI variable errno POSIX function creat() POSIX function fcntl() POSIX function open() POSIX macro FD_CLOEXEC POSIX macro F_DUPFD POSIX macro F_GETFD POSIX macro F_GETFL POSIX macro F_GETLK POSIX macro F_RDLCK POSIX macro F_SETFD POSIX macro F_SETFL POSIX macro F_SETLK POSIX macro F_SETLKW POSIX macro F_UNLCK POSIX macro F_WRLCK POSIX macro O_ACCMODE POSIX macro O_APPEND POSIX macro O_CREAT POSIX macro O_EXCL POSIX macro O_NOCTTY POSIX macro O_NONBLOCK POSIX macro O_RDONLY POSIX macro O_RDWR POSIX macro O_TRUNC POSIX macro O_WRONLY POSIX struct flock ANSI macro DBL_DIG ANSI macro DBL_EPSILON ANSI macro DBL_MANT_DIG ANSI macro DBL_MAX ANSI macro DBL_MAX_10_EXP ANSI macro DBL_MAX_EXP ANSI macro DBL_MIN ANSI macro DBL_MIN_10_EXP ANSI macro DBL_MIN_EXP ANSI macro FLT_DIG ANSI macro FLT_EPSILON ANSI macro FLT_MANT_DIG ANSI macro FLT_MAX ANSI macro FLT_MAX_10_EXP ANSI macro FLT_MAX_EXP ANSI macro FLT_MIN ANSI macro FLT_MIN_10_EXP ANSI macro FLT_MIN_EXP ANSI macro FLT_RADIX ANSI macro FLT_ROUNDS ANSI macro LDBL_DIG ANSI macro LDBL_EPSILON ANSI macro LDBL_MANT_DIG ANSI macro LDBL_MAX ANSI macro LDBL_MAX_10_EXP ANSI macro LDBL_MAX_EXP ANSI macro LDBL_MIN ANSI macro LDBL_MIN_10_EXP ANSI macro LDBL_MIN_EXP POSIX function getgrgid() POSIX function getgrnam() POSIX struct group POSIX macro ARG_MAX ANSI macro CHAR_BIT ANSI macro CHAR_MAX ANSI macro CHAR_MIN POSIX macro CHILD_MAX ANSI macro INT_MAX ANSI macro INT_MIN POSIX macro LINK_MAX ANSI macro LONG_MAX ANSI macro LONG_MIN POSIX macro MAX_CANON POSIX macro MAX_INPUT ANSI macro MB_LEN_MAX POSIX macro NAME_MAX POSIX macro NGROUPS_MAX POSIX macro OPEN_MAX POSIX macro PATH_MAX POSIX macro PIPE_BUF ANSI macro SCHAR_MAX ANSI macro SCHAR_MIN ANSI macro SHRT_MAX ANSI macro SHRT_MIN POSIX macro SSIZE_MAX POSIX macro STREAM_MAX POSIX macro TZNAME_MAX ANSI macro UCHAR_MAX ANSI macro UINT_MAX ANSI macro ULONG_MAX ANSI macro USHRT_MAX POSIX macro _POSIX_ARG_MAX POSIX macro _POSIX_CHILD_MAX POSIX macro _POSIX_LINK_MAX POSIX macro _POSIX_MAX_CANON POSIX macro _POSIX_MAX_INPUT POSIX macro _POSIX_NAME_MAX POSIX macro _POSIX_NGROUPS_MAX POSIX macro _POSIX_OPEN_MAX POSIX macro _POSIX_PATH_MAX POSIX macro _POSIX_PIPE_BUF POSIX macro _POSIX_SSIZE_MAX POSIX macro _POSIX_STREAM_MAX POSIX macro _POSIX_TZNAME_MAX ANSI function localeconv() ANSI function setlocale() ANSI macro LC_ALL ANSI macro LC_COLLATE ANSI macro LC_CTYPE ANSI macro LC_MONETARY ANSI macro LC_NUMERIC ANSI macro LC_TIME ANSI macro NULL ANSI struct lconv ANSI function acos() ANSI function asin() ANSI function atan() ANSI function atan2() ANSI function ceil() ANSI function cos() ANSI function cosh() ANSI function exp() ANSI function fabs() ANSI function floor() ANSI function fmod() ANSI function frexp() ANSI function ldexp() ANSI function log() ANSI function log10() ANSI function modf() ANSI function pow() ANSI function sin() ANSI function sinh() ANSI function sqrt() ANSI function tan() ANSI function tanh() ANSI macro HUGE_VAL POSIX function getpwnam() POSIX function getpwuid() POSIX struct passwd ANSI function longjmp() ANSI function setjmp() POSIX function siglongjmp() POSIX function sigsetjmp() ANSI typedef jmp_buf POSIX typedef sigjmp_buf POSIX function kill() ANSI function raise() POSIX function sigaction() POSIX function sigaddset() POSIX function sigdelset() POSIX function sigemptyset() POSIX function sigfillset() POSIX function sigismember() ANSI function signal() POSIX function sigpending() POSIX function sigprocmask() POSIX function sugsuspend() POSIX macro SA_NOCLDSTOP POSIX macro SIGABRT ANSI macro SIGABRT POSIX macro SIGALRM POSIX macro SIGCHLD POSIX macro SIGCONT POSIX macro SIGFPE ANSI macro SIGFPE POSIX macro SIGHUP POSIX macro SIGILL ANSI macro SIGILL POSIX macro SIGINT ANSI macro SIGINT POSIX macro SIGKILL POSIX macro SIGPIPE POSIX macro SIGQUIT POSIX macro SIGSEGV ANSI macro SIGSEGV POSIX macro SIGSTOP POSIX macro SIGTERM ANSI macro SIGTERM POSIX macro SIGTSTP POSIX macro SIGTTIN POSIX macro SIGTTOU POSIX macro SIGUSR1 POSIX macro SIGUSR2 POSIX macro SIG_BLOCK ANSI macro SIG_DFL POSIX macro SIG_DLF POSIX macro SIG_ERR ANSI macro SIG_ERR ANSI macro SIG_IGN POSIX macro SIG_SETMASK POSIX macro SIG_UNBLOCK POSIX struct sigaction ANSI typedef sig_atomic_t POSIX typeset sigset_t ANSI macro va_arg() ANSI macro va_end() ANSI macro va_start() ANSI typedef va_list ANSI macro NULL ANSI macro offsetof() ANSI typedef ptrdiff_t ANSI typedef size_t ANSI typedef wchar_t ANSI function clearerr() ANSI function fclose() POSIX function fdopen() ANSI function feof() ANSI function ferror() ANSI function fflush() ANSI function fgetc() ANSI function fgetpos() ANSI function fgets() POSIX function fileno() ANSI function fopen() ANSI function fprintf() ANSI function fputc() ANSI function fputs() ANSI function fread() ANSI function freopen() ANSI function fscanf() ANSI function fseek() ANSI function fsetpos() ANSI function ftell() ANSI function fwrite() ANSI function getc() ANSI function getchar() ANSI function gets() ANSI function perror() ANSI function printf() ANSI function putc() ANSI function putchar() ANSI function puts() ANSI function remove() ANSI function rename() ANSI function rewind() ANSI function scanf() ANSI function setbuf() ANSI function setvbuf() ANSI function sprintf() ANSI function sscanf() ANSI function tmpfile() ANSI function tmpnam() ANSI function ungetc() ANSI function vfprintf() ANSI function vprintf() ANSI function vsprintf() ANSI macro BUFSIZ ANSI macro EOF ANSI macro FILENAME_MAX ANSI macro FOPEN_MAX POSIX macro L_ctermid ANSI macro L_tmpnam ANSI macro NULL ANSI macro SEEK_CUR ANSI macro SEEK_END ANSI macro SEEK_SET POSIX macro STREAM_MAX ANSI macro TMP_MAX ANSI macro _IOFBF ANSI macro _IOLBF ANSI macro _IONBF ANSI typedef FILE ANSI typedef fpos_t ANSI typedef size_t ANSI variable stderr ANSI variable stdin ANSI variable stdout ANSI function abort() ANSI function abs() ANSI function atexit() ANSI function atof() ANSI function atoi() ANSI function atol() ANSI function bsearch() ANSI function calloc() ANSI function div() ANSI function exit() ANSI function free() ANSI function getenv() ANSI function labs() ANSI function ldiv() ANSI function malloc() ANSI function mblen() ANSI function mbstowcs() ANSI function mbtowc() ANSI function qsort() ANSI function rand() ANSI function realloc() ANSI function srand() ANSI function strtod() ANSI function strtol() ANSI function strtoul() ANSI function system() ANSI function wcstombs() ANSI function wctomb() ANSI macro EXIT_FAILURE ANSI macro EXIT_SUCCESS ANSI macro MB_CUR_MAX ANSI macro NULL ANSI macro RAND_MAX ANSI typedef div_t ANSI typedef ldiv_t ANSI typedef size_t ANSI typedef wchar_t ANSI function memchr() ANSI function memcmp() ANSI function memcpy() ANSI function memmove() ANSI function memset() ANSI function strcat() ANSI function strchr() ANSI function strcmp() ANSI function strcoll() ANSI function strcpy() ANSI function strcspn() ANSI function strerror() ANSI function strlen() ANSI function strncat() ANSI function strncmp() ANSI function strncpy() ANSI function strpbrk() ANSI function strrchr() ANSI function strspn() ANSI function strstr() ANSI function strtok() ANSI function strxfrm() ANSI macro NULL ANSI typedef size_t POSIX function chmod() POSIX function fstat() POSIX function mkdir() POSIX function mkfifo() POSIX function stat() POSIX function umask() POSIX macro S_IRGRP POSIX macro S_IROTH POSIX macro S_IRUSR POSIX macro S_IRWXG POSIX macro S_IRWXO POSIX macro S_IRWXU POSIX macro S_ISBLK() POSIX macro S_ISCHR() POSIX macro S_ISDIR() POSIX macro S_ISFIFO() POSIX macro S_ISGID POSIX macro S_ISREG() POSIX macro S_ISUID POSIX macro S_IWGRP POSIX macro S_IWOTH POSIX macro S_IWUSR POSIX macro S_IXGRP POSIX macro S_IXOTH POSIX macro S_IXUSR POSIX struct stat POSIX function times() POSIX struct tms POSIX typedef clock_t POSIX typedef dev_t POSIX typedef gid_t POSIX typedef ino_t POSIX typedef mode_t POSIX typedef nlink_t POSIX typedef off_t POSIX typedef pid_t POSIX typedef size_t POSIX typedef ssize_t POSIX typedef uid_t POSIX function uname() POSIX struct utsname POSIX function wait() POSIX function waitpid() POSIX macro WEXITSTATUS POSIX macro WIFEXITED POSIX macro WIFSIGNALED POSIX macro WIFSTOPPED POSIX macro WNOHANG POSIX macro WSTOPSIG POSIX macro WTERMSIG POSIX macro WUNTRACED POSIX function cfgetispeed() POSIX function cfgetospeed() POSIX function cfsetispeed() POSIX function cfsetospeed() POSIX function tcdrain() POSIX function tcflow() POSIX function tcflush() POSIX function tcgetattr() POSIX function tcsendbreak() POSIX function tcsetattr() POSIX macro B0 POSIX macro B110 POSIX macro B1200 POSIX macro B134 POSIX macro B150 POSIX macro B1800 POSIX macro B19200 POSIX macro B200 POSIX macro B2400 POSIX macro B300 POSIX macro B38400 POSIX macro B4800 POSIX macro B50 POSIX macro B600 POSIX macro B75 POSIX macro B9600 POSIX macro BRKINT POSIX macro CLOCAL POSIX macro CREAD POSIX macro CS5 POSIX macro CS6 POSIX macro CS7 POSIX macro CS8 POSIX macro CSIZE POSIX macro CSTOPB POSIX macro ECHO POSIX macro ECHOE POSIX macro ECHOK POSIX macro ECHONL POSIX macro HUPCL POSIX macro ICANON POSIX macro ICRNL POSIX macro IEXTEN POSIX macro IGNBRK POSIX macro IGNCR POSIX macro IGNPAR POSIX macro INLCR POSIX macro INPCK POSIX macro ISIG POSIX macro ISTRIP POSIX macro IXOFF POSIX macro IXON POSIX macro NCCS POSIX macro NOFLSH POSIX macro OPOST POSIX macro PARENB POSIX macro PARMRK POSIX macro PARODD POSIX macro TCIFLUSH POSIX macro TCIOFF POSIX macro TCIOFLUSH POSIX macro TCION POSIX macro TCOFLUSH POSIX macro TCOOFF POSIX macro TCOON POSIX macro TCSADRAIN POSIX macro TCSAFLUSH POSIX macro TCSANOW POSIX macro TOSTOP POSIX macro VEOF POSIX macro VEOL POSIX macro VERASE POSIX macro VINTR POSIX macro VKILL POSIX macro VMIN POSIX macro VQUIT POSIX macro VSTART POSIX macro VSTOP POSIX macro VSUSP POSIX macro VTIME POSIX struct termios POSIX typedef cc_t POSIX typedef speed_t POSIX typedef tcflag_t ANSI function asctime() ANSI function clock() ANSI function ctime() ANSI function difftime() ANSI function gmtime() ANSI function localtime() ANSI function mktime() ANSI function strftime() ANSI function time() POSIX function tzset() ANSI macro CLOCKS_PER_SEC POSIX macro CLOCK_TCK ANSI macro NULL ANSI struct tm ANSI typedef clock_t ANSI typedef size_t ANSI typedef time_t ANSI variable tzname POSIX function _exit() POSIX function access() POSIX function alarm() POSIX function chdir() POSIX function chown() POSIX function close() POSIX function ctermid() POSIX function dup() POSIX function dup2() POSIX function execl() POSIX function execle() POSIX function execlp() POSIX function execv() POSIX function execve() POSIX function execvp() POSIX function fork() POSIX function fpathconf() POSIX function getcwd() POSIX function getegid() POSIX function geteuid() POSIX function getgid() POSIX function getgroups() POSIX function getlogin() POSIX function getpgrp() POSIX function getpid() POSIX function getppid() POSIX function getuid() POSIX function isatty() POSIX function link() POSIX function lseek() POSIX function pathconf() POSIX function pause() POSIX function pipe() POSIX function read() POSIX function rmdir() POSIX function setgid() POSIX function setpgid() POSIX function setsid() POSIX function setuid() POSIX function sleep() POSIX function sysconf() POSIX function tcgetpgrp() POSIX function tcsetpgrp() POSIX function ttyname() POSIX function unlink() POSIX function write() POSIX macro F_OK POSIX macro NULL POSIX macro R_OK POSIX macro SEEK_CUR POSIX macro SEEK_END POSIX macro SEEK_SET POSIX macro STDERR_FILENO POSIX macro STDIN_FILENO POSIX macro STDOUT_FILENO POSIX macro W_OK POSIX macro X_OK POSIX macro _PC_CHOWN_RESTRICTED POSIX macro _PC_LINK_MAX POSIX macro _PC_MAX_CANON POSIX macro _PC_MAX_INPUT POSIX macro _PC_NAME_MAX POSIX macro _PC_NO_TRUNC POSIX macro _PC_PATH_MAX POSIX macro _PC_PIPE_BUF POSIX macro _PC_VDISABLE POSIX macro _POSIX_CHOWN_RESTRICTED POSIX macro _POSIX_JOB_CONTROL POSIX macro _POSIX_NO_TRUNC POSIX macro _POSIX_SAVED_IDS POSIX macro _POSIX_VDISABLE POSIX macro _POSIX_VERSION POSIX macro _SC_ARG_MAX POSIX macro _SC_CHILD_MAX POSIX macro _SC_CLK_TCK POSIX macro _SC_JOB_CONTROL POSIX macro _SC_NGROUPS_MAX POSIX macro _SC_OPEN_MAX POSIX macro _SC_SAVED_IDS POSIX macro _SC_STREAM_MAX POSIX macro _SC_TZNAME_MAX POSIX macro _SC_VERSION POSIX typedef size_t POSIX typedef ssize_t POSIX function utime() POSIX struct utimbuf -- Fergus Henderson | "I have always known that the pursuit WWW: | of excellence is a lethal habit" PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3 | -- the last words of T. S. Garp. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".