summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-21 12:12:28 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-21 12:12:28 -0500
commitac8e9db008825948e528b19c6bb733c8a927176f (patch)
tree9443d3c917adeb51f164abb2167b9d5c35513fe0
parent2716c589b82a649b65e77f19fbdbe9374f77e605 (diff)
downloaddeheader-ac8e9db008825948e528b19c6bb733c8a927176f.tar.gz
deheader-ac8e9db008825948e528b19c6bb733c8a927176f.tar.bz2
deheader-ac8e9db008825948e528b19c6bb733c8a927176f.tar.xz
deheader-ac8e9db008825948e528b19c6bb733c8a927176f.zip
All functions up to just before s.
-rwxr-xr-xdeheader83
1 files changed, 77 insertions, 6 deletions
diff --git a/deheader b/deheader
index 0bf9e15..69a773f 100755
--- a/deheader
+++ b/deheader
@@ -716,15 +716,86 @@ requirements = (
(r"pthread_setschedparam()", ["<pthread.h>"]),
(r"pthread_setspecific()", ["<pthread.h>"]),
(r"pthread_testcancel()", ["<pthread.h>"]),
+ # ptsname - get name of the slave pseudo-terminal device
+ (r"ptsname()", ["<stdlib.h>"]),
+ # putc - put a byte on a stream
+ (r"putc()", ["<stdio.h>"]),
+ # putc_unlocked - stdio with explicit client locking
+ (r"putc_unlocked()", ["<stdio.h>"]),
+ # putchar - put byte on stdout stream
+ (r"putchar()", ["<stdio.h>"]),
+ # putchar_unlocked - stdio with explicit client locking
+ (r"putchar_unlocked()", ["<stdio.h>"]),
+ # putenv - change or add a value to environment
+ (r"putenv()", ["<stdlib.h>"]),
+ # putmsg, putpmsg - send a message on a STREAM
+ (r"putmsg()", ["<stropts.h>"]),
+ (r"putpmsg()", ["<stropts.h>"]),
+ # puts - put a string on standard output
+ (r"puts()", ["<stdio.h>"]),
+ # putw - put a word on a stream
+ (r"putw()", ["<stdio.h>"]),
+ # putwc - put a wide-character on a stream
+ (r"putwc()", ["<stdio.h>", "<wchar.h>"]),
+ # putwchar - put a wide character from a stdin stream
+ (r"putwchar()", ["<wchar.h>"]),
+ # pwrite - write on a file
+ (r"pwrite()", ["<unistd.h>"]),
+ # qsort - sort a table of data
+ (r"qsort()", ["<stdlib.h>"]),
+ # raise - send a signal to the executing process
+ (r"raise()", ["<signal.h>"]),
+ # rand, rand_r - pseudo-random number generator
+ (r"rand()", ["<stdlib.h>"]),
+ (r"srand()", ["<stdlib.h>"]),
+ (r"rand_r()", ["<stdlib.h>"]),
+ # random - generate pseudorandom number
+ (r"random()", ["<stdlib.h>"]),
+ # re_comp.h - regular-expression-matching functions for re_comp()
+ (r"re_comp()", ["<re_comp.h>"]),
+ (r"re_exec()", ["<re_comp.h>"]),
+ # read, readv, pread - read from a file
+ ("read()", ["<unistd.h>"]),
+ ("readv()", ["<sys/uio.h>"]),
+ # readdir, readdir_r - read directory
+ (r"readdir()", ["<sys/types.h>", "<dirent.h>"]),
+ (r"readdir_r()", ["<sys/types.h>", "<dirent.h>"]),
+ # readlink - read the contents of a symbolic link
+ ("readlink()", ["<unistd.h>"]),
+ # realloc - memory reallocator
+ ("realloc()", ["<unistd.h>"]),
+ # realpath - resolve a pathname
+ ("realpath()", ["<stdlib.h>"]),
+ # regcomp, regexec, regerror, regfree - regular expression matching
+ (r"regcomp()", ["<sys/types.h>", "<regex.h>"]),
+ (r"regexec()", ["<sys/types.h>", "<regex.h>"]),
+ (r"regerror()", ["<sys/types.h>", "<regex.h>"]),
+ (r"regfree()", ["<sys/types.h>", "<regex.h>"]),
+ # remainder - remainder function
+ (r"remainder()", ["<math.h>"]),
+ # remove - remove files
+ (r"remove()", ["<stdio.h>"]),
+ # rename - rename a file
+ (r"rename()", ["<stdio.h>"]),
+ # rewind - reset file position indicator in a stream
+ (r"rewind()", ["<stdio.h>"]),
+ # rewinddir - reset position of directory stream to the beginning of a directory
+ (r"rewinddir()", ["<sys/types.h>", "<dirent.h>"]),
+ # rindex - character string operations
+ (r"rindex()", ["<strings.h>"]),
+ # rint - round-to-nearest integral value
+ (r"rint()", ["<math.h>"]),
+ # rmdir - remove a directory
+ ("rmdir()", ["<unistd.h>"]),
# setjmp.h - stack environment declarations
- (r"longjmp()", ["<setjmp.h>"]),
- (r"siglongjmp()", ["<setjmp.h>"]),
- (r"_longjmp()", ["<setjmp.h>"]),
- (r"setjmp()", ["<setjmp.h>"]),
- (r"sigsetjmp()", ["<setjmp.h>"]),
- (r"_setjmp()", ["<setjmp.h>"]),
+ (r"longjmp()", ["<setjmp.h>"]),
+ (r"siglongjmp()", ["<setjmp.h>"]),
+ (r"_longjmp()", ["<setjmp.h>"]),
+ (r"setjmp()", ["<setjmp.h>"]),
+ (r"sigsetjmp()", ["<setjmp.h>"]),
+ (r"_setjmp()", ["<setjmp.h>"]),
# string.h - string operations
(r"memccpy()", ["<strings.h>"]),
(r"memchr()", ["<strings.h>"]),