diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-12-21 10:17:20 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-12-21 10:17:20 -0500 |
commit | bb87e4355dda6bb70eadbf5bf88f39727a5dcd8a (patch) | |
tree | 430c765898c4841c069f2ec435de304f2b556c6c | |
parent | 344869770049c4b6aeaeab573236c400719c9b4f (diff) | |
download | deheader-bb87e4355dda6bb70eadbf5bf88f39727a5dcd8a.tar.gz deheader-bb87e4355dda6bb70eadbf5bf88f39727a5dcd8a.tar.bz2 deheader-bb87e4355dda6bb70eadbf5bf88f39727a5dcd8a.tar.xz deheader-bb87e4355dda6bb70eadbf5bf88f39727a5dcd8a.zip |
All SuS functions up to just before pthread*.
-rwxr-xr-x | deheader | 94 |
1 files changed, 93 insertions, 1 deletions
@@ -545,9 +545,101 @@ requirements = ( (r"lfind()", ["<search.h>"]), (r"lsearch()", ["<search.h>"]), # lseek - move the read/write file offset - (r"lseek()", ["<sys/stat.h>", "<sys/types.h>"]), + (r"lseek()", ["<sys/types.h>", "<unistd.h>"]), # lstat - get symbolic link status (r"lstat()", ["<sys/stat.h>"]), + # makecontext, swapcontext - manipulate user contexts + (r"makecontext()", ["<ucontext.h>"]), + (r"swapcontext()", ["<ucontext.h>"]), + # malloc - a memory allocator + (r"malloc()", ["<stdlib.h>"]), + # mblen - get number of bytes in a character + (r"mblen()", ["<stdlib.h>"]), + # mbrlen - get number of bytes in a character (restartable) + (r"mblren()", ["<wchar.h>"]), + # mbrtowc - convert a character to a wide-character code (restartable) + (r"mbrtowc()", ["<wchar.h>"]), + # mbsinit - determine conversion object status + (r"mbsinit()", ["<wchar.h>"]), + # mbsrtowcs - convert a character string to a wide-character string (restartable) + (r"mbsrtowcs()", ["<wchar.h>"]), + # mbstowcs - convert a character string to a wide-character string + (r"mbstowcs()", ["<wchar.h>"]), + # mbtowc - convert a character to a wide-character code + (r"mbtowcs()", ["<stdlib.h>"]), + # mkdir - make a directory + (r"mkdir()", ["<sys/types.h>", "<sys/stat.h>"]), + # mkfifo - make a FIFO special file + (r"mkfifo()", ["<sys/types.h>", "<sys/stat.h>"]), + # mknod - make a directory, a special or regular file + (r"mknod()", ["<sys/stat.h>"]), + # mkstemp - make a unique file name + (r"mkstemp()", ["<stdlib.h>"]), + # mktemp - make a unique filename + (r"mktemp()", ["<stdlib.h>"]), + # convert broken-down time into time since the Epoch + (r"mktime()", ["<time.h>"]), + # sys/mman.h - memory management declarations + (r"mlock()", ["<sys/mman.h>"]), + (r"mlockall()", ["<sys/mman.h>"]), + (r"mmap()", ["<sys/mman.h>"]), + (r"mprotect()", ["<sys/mman.h>"]), + (r"msync()", ["<sys/mman.h>"]), + (r"munlock()", ["<sys/mman.h>"]), + (r"munlockall()", ["<sys/mman.h>"]), + (r"munmap()", ["<sys/mman.h>"]), + (r"shm_open()", ["<sys/mman.h>"]), + (r"shm_unlink()", ["<sys/mman.h>"]), + # modf - decompose a floating-point number + (r"modf()", ["<math.h>"]), + # monetary.h - monetary types + (r"strfmon()", ["<monetary.h>"]), + # mqueue.h - message queues + (r"mq_close()", ["<mqueue.h>"]), + (r"mq_getattr()", ["<mqueue.h>"]), + (r"mq_notify()", ["<mqueue.h>"]), + (r"mq_open()", ["<mqueue.h>"]), + (r"mq_receive()", ["<mqueue.h>"]), + (r"mq_send()", ["<mqueue.h>"]), + (r"mq_setattr()", ["<mqueue.h>"]), + (r"mq_unlink()", ["<mqueue.h>"]), + # sys/msg.h - message queue structures + (r"msgctl()", ["<sys/msg.h>"]), + (r"msgget()", ["<sys/msg.h>"]), + (r"msgrcv()", ["<sys/msg.h>"]), + (r"msgsnd()", ["<sys/msg.h>"]), + # nanosleep - high resolution sleep + (r"nanosleep()", ["<time.h>"]), + # nextafter - next representable double-precision floating-point number + (r"nextafter()", ["<math.h>"]), + # change nice value of a process + (r"nice()", ["<unistd.h>"]), + # nl_langinfo - language information + (r"nl_langinfo()", ["<langinfo.h>"]), + # open - open a file + (r"open()", ["<sys/types.h>", "<sys/stat.h>", "<fcntl.h>"]), + # opendir - open a directory + (r"opendir()", ["<sys/types.h>", "<dirent.h>"]), + # pause - suspend the thread until signal is received + (r"pause()", ["<unistd.h>"]), + # pclose - close a pipe stream to or from a process + (r"pclose()", ["<stdio.h>"]), + # perror - write error messages to standard error + (r"perror()", ["<stdio.h>"]), + # pipe - create an interprocess channel + (r"pipe()", ["<unistd.h>"]), + # poll - input/output multiplexing + (r"poll()", ["<poll.h>"]), + # popen - initiate pipe streams to or from a process + (r"popen()", ["<stdio.h>"]), + # pow - power function + (r"pow()", ["<math.h>"]), + # pread - read from a file + ("pread()", ["<unistd.h>"]), + # printf - print formatted output + (r"printf()", ["<stdio.h>"]), + + # setjmp.h - stack environment declarations (r"longjmp()", ["<setjmp.h>"]), |