From 186983d4990fadaff812ac236f262f80d803b941 Mon Sep 17 00:00:00 2001 From: nsz Date: Wed, 14 Sep 2011 04:18:21 +0200 Subject: [PATCH] fix some posix headers --- data/posix2008.ok | 22 +++++++++++----------- tab_posix.html | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/data/posix2008.ok b/data/posix2008.ok index 0c618ec..f681003 100644 --- a/data/posix2008.ok +++ b/data/posix2008.ok @@ -2,8 +2,8 @@ FD_CLR sys/select.h pselect, select - synchronous I/O multiplexing void FD_CLR( FD_ISSET sys/select.h pselect, select - synchronous I/O multiplexing int FD_ISSET(int fd, fd_set *fdset); FD_SET sys/select.h pselect, select - synchronous I/O multiplexing void FD_SET(int fd, fd_set *fdset); FD_ZERO sys/select.h pselect, select - synchronous I/O multiplexing void FD_ZERO(fd_set *fdset); -_Exit stdlib.h unistd.h _Exit, _exit - terminate a process void _Exit(int status); -_exit stdlib.h unistd.h _Exit, _exit - terminate a process void _exit(int status); +_Exit stdlib.h _Exit, _exit - terminate a process void _Exit(int status); +_exit unistd.h _Exit, _exit - terminate a process void _exit(int status); _longjmp setjmp.h OB XSI _longjmp, _setjmp - non-local goto void _longjmp(jmp_buf env, int val); _setjmp setjmp.h OB XSI _longjmp, _setjmp - non-local goto int _setjmp(jmp_buf env); _tolower ctype.h OB XSI _tolower - transliterate uppercase characters to lowercase int _tolower(int c); @@ -310,7 +310,7 @@ ftruncate unistd.h ftruncate - truncate a file to a specified length int ftrunc ftrylockfile stdio.h CX flockfile, ftrylockfile, funlockfile - stdio locking functions int ftrylockfile(FILE *file); ftw ftw.h OB XSI ftw - traverse (walk) a file tree int ftw(const char *path, int (*fn)(const char *, const struct stat *ptr, int flag), int ndirs); funlockfile stdio.h CX flockfile, ftrylockfile, funlockfile - stdio locking functions void funlockfile(FILE *file); -futimens sys/stat.h sys/time.h futimens, utimensat, utimes - set file access and modification times int futimens(int fd, const struct timespec times[2]); +futimens sys/stat.h futimens, utimensat, utimes - set file access and modification times int futimens(int fd, const struct timespec times[2]); fwide stdio.h wchar.h fwide - set stream orientation int fwide(FILE *stream, int mode); fwprintf stdio.h wchar.h fwprintf, swprintf, wprintf - print formatted wide-character output int fwprintf(FILE *restrict stream, const wchar_t *restrict format, ...); fwrite stdio.h fwrite - binary output size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restrict stream); @@ -566,11 +566,11 @@ mq_close mqueue.h MSG mq_close - close a message queue (REALTIME) int mq_ mq_getattr mqueue.h MSG mq_getattr - get message queue attributes (REALTIME) int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat); mq_notify mqueue.h MSG mq_notify - notify process that a message is available (REALTIME) int mq_notify(mqd_t mqdes, const struct sigevent *notification); mq_open mqueue.h MSG mq_open - open a message queue (REALTIME) mqd_t mq_open(const char *name, int oflag, ...); -mq_receive mqueue.h mqueue.h time.h MSG mq_receive, mq_timedreceive - receive a message from a message queue (REALTIME) ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio); -mq_send mqueue.h mqueue.h time.h MSG mq_send, mq_timedsend - send a message to a message queue (REALTIME) int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio); +mq_receive mqueue.h MSG mq_receive, mq_timedreceive - receive a message from a message queue (REALTIME) ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio); +mq_send mqueue.h MSG mq_send, mq_timedsend - send a message to a message queue (REALTIME) int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio); mq_setattr mqueue.h MSG mq_setattr - set message queue attributes (REALTIME) int mq_setattr(mqd_t mqdes, const struct mq_attr *restrict mqstat, struct mq_attr *restrict omqstat); -mq_timedreceive mqueue.h mqueue.h time.h MSG mq_receive, mq_timedreceive - receive a message from a message queue (REALTIME) ssize_t mq_timedreceive(mqd_t mqdes, char *restrict msg_ptr, size_t msg_len, unsigned *restrict msg_prio, const struct timespec *restrict abstime); -mq_timedsend mqueue.h mqueue.h time.h MSG mq_send, mq_timedsend - send a message to a message queue (REALTIME) int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abstime); +mq_timedreceive mqueue.h time.h MSG mq_receive, mq_timedreceive - receive a message from a message queue (REALTIME) ssize_t mq_timedreceive(mqd_t mqdes, char *restrict msg_ptr, size_t msg_len, unsigned *restrict msg_prio, const struct timespec *restrict abstime); +mq_timedsend mqueue.h time.h MSG mq_send, mq_timedsend - send a message to a message queue (REALTIME) int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abstime); mq_unlink mqueue.h MSG mq_unlink - remove a message queue (REALTIME) int mq_unlink(const char *name); mrand48 stdlib.h XSI drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers long mrand48(void); msgctl sys/msg.h XSI msgctl - XSI message control operations int msgctl(int msqid, int cmd, struct msqid_ds *buf); @@ -603,8 +603,8 @@ nrand48 stdlib.h XSI drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand ntohl arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint32_t ntohl(uint32_t netlong); ntohs arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint16_t ntohs(uint16_t netshort); open sys/stat.h fcntl.h OH open, openat - open file relative to directory file descriptor int open(const char *path, int oflag, ...); -open_memstream stdio.h wchar.h CX open_memstream, open_wmemstream - open a dynamic memory buffer stream FILE *open_memstream(char **bufp, size_t *sizep); -open_wmemstream stdio.h wchar.h CX open_memstream, open_wmemstream - open a dynamic memory buffer stream FILE *open_wmemstream(wchar_t **bufp, size_t *sizep); +open_memstream stdio.h CX open_memstream, open_wmemstream - open a dynamic memory buffer stream FILE *open_memstream(char **bufp, size_t *sizep); +open_wmemstream wchar.h CX open_memstream, open_wmemstream - open a dynamic memory buffer stream FILE *open_wmemstream(wchar_t **bufp, size_t *sizep); openat sys/stat.h fcntl.h OH open, openat - open file relative to directory file descriptor int openat(int fd, const char *path, int oflag, ...); opendir dirent.h fdopendir, opendir - open directory associated with file descriptor DIR *opendir(const char *dirname); openlog syslog.h XSI closelog, openlog, setlogmask, syslog - control system log void openlog(const char *ident, int logopt, int facility); @@ -1046,8 +1046,8 @@ unlockpt stdlib.h XSI unlockpt - unlock a pseudo-terminal master/slave pair int unsetenv stdlib.h CX unsetenv - remove an environment variable int unsetenv(const char *name); uselocale locale.h CX uselocale - use locale in current thread locale_t uselocale(locale_t newloc); utime utime.h OB utime - set file access and modification times int utime(const char *path, const struct utimbuf *times); -utimensat sys/stat.h sys/time.h futimens, utimensat, utimes - set file access and modification times int utimensat(int fd, const char *path, const struct timespec times[2], int flag); -utimes sys/stat.h sys/time.h XSI futimens, utimensat, utimes - set file access and modification times int utimes(const char *path, const struct timeval times[2]); +utimensat sys/stat.h futimens, utimensat, utimes - set file access and modification times int utimensat(int fd, const char *path, const struct timespec times[2], int flag); +utimes sys/time.h XSI futimens, utimensat, utimes - set file access and modification times int utimes(const char *path, const struct timeval times[2]); va_arg stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list type va_arg(va_list ap, type); va_copy stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list void va_copy(va_list dest, va_list src); va_end stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list void va_end(va_list ap); diff --git a/tab_posix.html b/tab_posix.html index 712a81d..3b37e97 100644 --- a/tab_posix.html +++ b/tab_posix.html @@ -6,8 +6,8 @@   d FD_ISSET sys/select.h pselect, select - synchronous I/O multiplexing   d FD_SET sys/select.h pselect, select - synchronous I/O multiplexing   d FD_ZERO sys/select.h pselect, select - synchronous I/O multiplexing - Tp _Exit stdlib.h unistd.h _Exit, _exit - terminate a process - Tp _exit stdlib.h unistd.h _Exit, _exit - terminate a process + Tp _Exit stdlib.h _Exit, _exit - terminate a process + Tp _exit unistd.h _Exit, _exit - terminate a process  Tp _longjmp setjmp.h OB XSI_longjmp, _setjmp - non-local goto  Tp _setjmp setjmp.h OB XSI_longjmp, _setjmp - non-local goto   d _tolower ctype.h OB XSI_tolower - transliterate uppercase characters to lowercase @@ -314,7 +314,7 @@  Tp ftrylockfile stdio.h CXflockfile, ftrylockfile, funlockfile - stdio locking functions  Tp ftw ftw.h OB XSIftw - traverse (walk) a file tree  Tp funlockfile stdio.h CXflockfile, ftrylockfile, funlockfile - stdio locking functions - Tp futimens sys/stat.h sys/time.h futimens, utimensat, utimes - set file access and modification times + Tp futimens sys/stat.h futimens, utimensat, utimes - set file access and modification times  Tp fwide stdio.h wchar.h fwide - set stream orientation  Tp fwprintf stdio.h wchar.h fwprintf, swprintf, wprintf - print formatted wide-character output  Tp fwrite stdio.h fwrite - binary output @@ -570,11 +570,11 @@  Tp mq_getattr mqueue.h MSGmq_getattr - get message queue attributes (REALTIME)  Tp mq_notify mqueue.h MSGmq_notify - notify process that a message is available (REALTIME)  Tp mq_open mqueue.h MSGmq_open - open a message queue (REALTIME) - Tp mq_receive mqueue.h mqueue.h time.h MSGmq_receive, mq_timedreceive - receive a message from a message queue (REALTIME) - Tp mq_send mqueue.h mqueue.h time.h MSGmq_send, mq_timedsend - send a message to a message queue (REALTIME) + Tp mq_receive mqueue.h MSGmq_receive, mq_timedreceive - receive a message from a message queue (REALTIME) + Tp mq_send mqueue.h MSGmq_send, mq_timedsend - send a message to a message queue (REALTIME)  Tp mq_setattr mqueue.h MSGmq_setattr - set message queue attributes (REALTIME) - Tp mq_timedreceive mqueue.h mqueue.h time.h MSGmq_receive, mq_timedreceive - receive a message from a message queue (REALTIME) - Tp mq_timedsend mqueue.h mqueue.h time.h MSGmq_send, mq_timedsend - send a message to a message queue (REALTIME) + Tp mq_timedreceive mqueue.h time.h MSGmq_receive, mq_timedreceive - receive a message from a message queue (REALTIME) + Tp mq_timedsend mqueue.h time.h MSGmq_send, mq_timedsend - send a message to a message queue (REALTIME)  Tp mq_unlink mqueue.h MSGmq_unlink - remove a message queue (REALTIME)  Tp mrand48 stdlib.h XSIdrand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers  Tp msgctl sys/msg.h XSImsgctl - XSI message control operations @@ -607,8 +607,8 @@  Tp p ntohl arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order  Tp p ntohs arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order  Tp open sys/stat.h fcntl.h OHopen, openat - open file relative to directory file descriptor - Tp open_memstream stdio.h wchar.h CXopen_memstream, open_wmemstream - open a dynamic memory buffer stream - Tp open_wmemstream stdio.h wchar.h CXopen_memstream, open_wmemstream - open a dynamic memory buffer stream + Tp open_memstream stdio.h CXopen_memstream, open_wmemstream - open a dynamic memory buffer stream + Tp open_wmemstream wchar.h CXopen_memstream, open_wmemstream - open a dynamic memory buffer stream  Tp openat sys/stat.h fcntl.h OHopen, openat - open file relative to directory file descriptor  Tp opendir dirent.h fdopendir, opendir - open directory associated with file descriptor  Tp openlog syslog.h XSIcloselog, openlog, setlogmask, syslog - control system log @@ -1050,8 +1050,8 @@  Tp unsetenv stdlib.h CXunsetenv - remove an environment variable  Tp uselocale locale.h CXuselocale - use locale in current thread  Tp utime utime.h OButime - set file access and modification times - Tp utimensat sys/stat.h sys/time.h futimens, utimensat, utimes - set file access and modification times - Tp utimes sys/stat.h sys/time.h XSIfutimens, utimensat, utimes - set file access and modification times + Tp utimensat sys/stat.h futimens, utimensat, utimes - set file access and modification times + Tp utimes sys/time.h XSIfutimens, utimensat, utimes - set file access and modification times   d d va_arg stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list   d d va_copy stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list   d d va_end stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list -- 2.20.1