diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-02-28 05:08:01 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-02-28 05:08:01 +0000 |
commit | 0ed99ce46d9521347c2fd1c72f7b4e9aa0e3f4d0 (patch) | |
tree | 5aa27fb2d06f760ba64c7424d36f2bf91a1940f9 /conform/data/unistd.h-data | |
parent | 919e98fa39e74f1bbd5c4b0b21edbce3d293f03f (diff) | |
download | glibc-0ed99ce46d9521347c2fd1c72f7b4e9aa0e3f4d0.tar glibc-0ed99ce46d9521347c2fd1c72f7b4e9aa0e3f4d0.tar.gz glibc-0ed99ce46d9521347c2fd1c72f7b4e9aa0e3f4d0.tar.bz2 glibc-0ed99ce46d9521347c2fd1c72f7b4e9aa0e3f4d0.zip |
Update.
2000-02-27 Ulrich Drepper <drepper@redhat.com>
* conform/conformtest.pl (@headers): Add wordexp.h, wctype.h, wchar.h,
varargs.h, utmpx.h, utime.h, unistd.h, ulimit.h, ucontext.h, time.h,
termios.h, tar.h, sys/wait.h, sys/uio.h, sys/types.h, sys/times.h,
sys/timeb.h, sys/time.h, sys/statvfs.h, sys/stat.h, sys/shm.h,
sys/sem.h, and sys/resource.h.
Implement handling of allow-header.
* conform/data/fcntl.h-data: Correct various bugs.
* conform/data/fnmatch.h-data: Likewise.
* conform/data/math.h-data: Likewise.
* conform/data/ndbm.h-data: Likewise.
* conform/data/nl_types.h-data: Likewise.
* conform/data/poll.h-data: Likewise.
* conform/data/pthread.h-data: Likewise.
* conform/data/semaphore.h-data: Likewise.
* conform/data/setjmp.h-data: Likewise.
* conform/data/signal.h-data: Likewise.
* conform/data/stdarg.h-data: Likewise.
* conform/data/stddef.h-data: Likewise.
* conform/data/stdio.h-data: Likewise.
* conform/data/stdlib.h-data: Likewise.
* conform/data/string.h-data: Likewise.
* conform/data/strings.h-data: Likewise.
* conform/data/stropts.h-data: Likewise.
* conform/data/syslog.h-data: Likewise.
* conform/data/sys/ipc.h-data: Likewise.
* conform/data/sys/mman.h-data: Likewise.
* conform/data/sys/msg.h-data: Likewise.
* conform/data/tar.h-data: New file.
* conform/data/termios.h-data: New file.
* conform/data/time.h-data: New file.
* conform/data/ucontext.h-data: New file.
* conform/data/ulimit.h-data: New file.
* conform/data/unistd.h-data: New file.
* conform/data/utime.h-data: New file.
* conform/data/utmpx.h-data: New file.
* conform/data/varargs.h-data: New file.
* conform/data/wchar.h-data: New file.
* conform/data/wctype.h-data: New file.
* conform/data/wordexp.h-data: New file.
* conform/data/sys/resource.h-data: New file.
* conform/data/sys/sem.h-data: New file.
* conform/data/sys/shm.h-data: New file.
* conform/data/sys/stat.h-data: New file.
* conform/data/sys/statvfs.h-data: New file.
* conform/data/sys/time.h-data: New file.
* conform/data/sys/timeb.h-data: New file.
* conform/data/sys/times.h-data: New file.
* conform/data/sys/types.h-data: New file.
* conform/data/sys/uio.h-data: New file.
* conform/data/sys/wait.h-data: New file.
* grp/grp.h (getgrent_r): Declare only if __USE_GNU.
* include/sys/time.h (__itimes): Fix type of second parameter.
* io/sys/stat.h (S_IFLNK): Define also if __USE_XOPEN.
(S_ISVTX): Likewise.
* io/sys/statvfs.h: Define fsblkcnt_t and fsfilcnt_t.
* locale/langindo.h: Make ERA_YEAR, INT_CURR_SYMBOL, CURRENCY_SYMBOL,
MON_DECIMAL_POINT, MON_THOUSANDS_SEP, MON_GROUPING, POSITIVE_SIGN,
NEGATIVE_SIGN, INT_FRAC_DIGITS, FRAC_DIGITS, P_CS_PRECEDES,
P_SEP_BY_SPACE, N_CS_PRECEDES, N_SEP_BY_SPACE, P_SIGN_POSN,
N_SIGN_POSN, DECIMAL_POINT, THOUSANDS_SEP, GROUPING, YESEXPR,
NOEXPR, YESSTR, and NOSTR only available if __USE_GNU.
* math/bits/mathcalls.h: Don't declare tgamma and scalbn if only
__USE_XOPEN.
* posix/unistd.h: Don't define ptrdiff_t.
(sbrk): Correct type of parameter.
* sysdeps/generic/sbrk.c: Likewise.
* sysdeps/mach/hurd/sbrk.c: Likewise.
* posix/sys/types.h: Allow id_t, suseconds_t, fsblkcnt_t, and
fsfilcnt_t being defined elsewhere.
* resource/sys/resource.h: Define id_t.
If __USE_XOPEN use int for type of first parameter if getrlimit,
getrlimit64, setrlimit, setrlimit64, getrusage, getpriority, and
setpriority.
* sysdeps/generic/getpriority.c: Fix type of second parameter.
* sysdeps/generic/setpriority.c: Likewise.
* sysdeps/mach/hurd/getpriority.c: Likewise.
* sysdeps/mach/hurd/setpriority.c: Likewise.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
* sysdeps/unix/sysv/linux/getpriority.c: Likewise.
* sysdeps/generic/utimes.c: Fix parameter of third parameter.
* sysdeps/mach/hurd/utimes.c: Likewise.
* sysdeps/posix/utimes.c: Likewise.
* sysdeps/generic/bits/shm.h: Define shmatt_t type and use it in
struct shmid_ds definition.
* sysdeps/gnu/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysvipc/sys/shm.h: Define time_t.
* sysvipc/sys/sem.h (struct sembuf): Make sem_num field unsigned.
* sysdeps/gnu/bits/sem.h: Rename anonymous type struct sem_queue and
struct sem_undo to struct __sem_queue and struct __sem_undo resp.
* time/time.h: Define suseconds_t if not already done.
* sysdeps/unix/sysv/linux/bits/statvfs.h: Rename f_spare to __f_spare.
* sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
* intl/bindtextdom.c: Use rwlock to avoid surprising results in
multithreaded applications.
* intl/dcigettext.c: Likewise.
* intl/textdomain.c: Likewise.
* intl/*.c: Update copyright.
* sysdeps/generic/bits/libc-lock.h: Define __libc_rwlock_* stubs.
2000-02-27 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/configure.in: Treat also "/usr/" as
prefix especially.
2000-02-27 Ulrich Drepper <drepper@redhat.com>
* po/de.po: Update from translation team.
* po/ko.po: Likewise.
Diffstat (limited to 'conform/data/unistd.h-data')
-rw-r--r-- | conform/data/unistd.h-data | 308 |
1 files changed, 308 insertions, 0 deletions
diff --git a/conform/data/unistd.h-data b/conform/data/unistd.h-data new file mode 100644 index 0000000000..e3008e7be4 --- /dev/null +++ b/conform/data/unistd.h-data @@ -0,0 +1,308 @@ +constant _POSIX_VERSION +constant _POSIX2_VERSION +constant _POSIX2_C_VERSION +constant _XOPEN_VERSION +constant _XOPEN_XCU_VERSION + +constant _POSIX2_C_BIND +constant _POSIX2_CHAR_TERM +constant _POSIX2_LOCALDEF +constant _POSIX2_UPE +constant _POSIX2_VERSION + +constant _XOPEN_XPG2 +constant _XOPEN_XPG3 +constant _XOPEN_XPG4 +constant _XOPEN_UNIX + +constant _POSIX_CHOWN_RESTRICTED +constant _POSIX_NO_TRUNC +constant _POSIX_VDISABLE +constant _POSIX_SAVED_IDS +constant _POSIX_JOB_CONTROL + +constant _POSIX_THREADS +constant _POSIX_THREAD_ATTR_STACKADDR +constant _POSIX_THREAD_ATTR_STACKSIZE +constant _POSIX_THREAD_PROCESS_SHARED +constant _POSIX_THREAD_SAFE_FUNCTIONS + +constant _POSIX2_C_DEV +constant _POSIX2_FORT_DEV +constant _POSIX2_FORT_RUN +constant _POSIX2_SW_DEV +constant _XOPEN_CRYPT +constant _XOPEN_ENH_I18N +constant _XOPEN_LEGACY +constant _XOPEN_REALTIME +constant _XOPEN_REALTIME_THREADS +constant _XOPEN_SHM +allow _XBS5_ILP32_OFF32 +allow _XBS5_ILP32_OFBIG +allow _XBS5_LP64_OFF64 +allow _XBS5_LPBIG_OFFBIG +constant _POSIX_ASYNCHRONOUS_IO +constant _POSIX_MEMLOCK +constant _POSIX_MEMLOCK_RANGE +constant _POSIX_MESSAGE_PASSING +constant _POSIX_PRIORITY_SCHEDULING +constant _POSIX_REALTIME_SIGNALS +constant _POSIX_SEMAPHORES +constant _POSIX_SHARED_MEMORY_OBJECTS +constant _POSIX_SYNCHRONIZED_IO +constant _POSIX_TIMERS + +constant _POSIX_FSYNC +constant _POSIX_MAPPED_FILES +constant _POSIX_MEMORY_PROTECTION + +constant _POSIX_PRIORITIZED_IO + +constant _POSIX_THREAD_PRIORITY_SCHEDULING +constant _POSIX_THREAD_PRIO_INHERIT +constant _POSIX_THREAD_PRIO_PROTECT + +constant _POSIX_ASYNC_IO +constant _POSIX_PRIO_IO +constant _POSIX_SYNC_IO + +constant NULL + +constant R_OK +constant W_OK +constant X_OK +constant F_OK + +constant _CS_PATH +constant _CS_XBS5_ILP32_OFF32_CFLAGS +constant _CS_XBS5_ILP32_OFF32_LDFLAGS +constant _CS_XBS5_ILP32_OFF32_LIBS +constant _CS_XBS5_ILP32_OFF32_LINTFLAGS +constant _CS_XBS5_ILP32_OFFBIG_CFLAGS +constant _CS_XBS5_ILP32_OFFBIG_LDFLAGS +constant _CS_XBS5_ILP32_OFFBIG_LIBS +constant _CS_XBS5_ILP32_OFFBIG_LINTFLAGS +constant _CS_XBS5_LP64_OFF64_CFLAGS +constant _CS_XBS5_LP64_OFF64_LDFLAGS +constant _CS_XBS5_LP64_OFF64_LIBS +constant _CS_XBS5_LP64_OFF64_LINTFLAGS +constant _CS_XBS5_LPBIG_OFFBIG_CFLAGS +constant _CS_XBS5_LPBIG_OFFBIG_LDFLAGS +constant _CS_XBS5_LPBIG_OFFBIG_LIBS +constant _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS + +constant SEEK_SET +constant SEEK_CUR +constant SEEK_END + +constant _SC_2_C_BIND +constant _SC_2_C_DEV +constant _SC_2_C_VERSION +constant _SC_2_FORT_DEV +constant _SC_2_FORT_RUN +constant _SC_2_LOCALEDEF +constant _SC_2_SW_DEV +constant _SC_2_UPE +constant _SC_2_VERSION +constant _SC_ARG_MAX +constant _SC_AIO_LISTIO_MAX +constant _SC_AIO_MAX +constant _SC_AIO_PRIO_DELTA_MAX +constant _SC_ASYNCHRONOUS_IO +constant _SC_ATEXIT_MAX +constant _SC_BC_BASE_MAX +constant _SC_BC_DIM_MAX +constant _SC_BC_SCALE_MAX +constant _SC_BC_STRING_MAX +constant _SC_CHILD_MAX +constant _SC_CLK_TCK +constant _SC_COLL_WEIGHTS_MAX +constant _SC_DELAYTIMER_MAX +constant _SC_EXPR_NEST_MAX +constant _SC_FSYNC +constant _SC_GETGR_R_SIZE_MAX +constant _SC_GETPW_R_SIZE_MAX +constant _SC_IOV_MAX +constant _SC_JOB_CONTROL +constant _SC_LINE_MAX +constant _SC_LOGIN_NAME_MAX +constant _SC_MAPPED_FILES +constant _SC_MEMLOCK +constant _SC_MEMLOCK_RANGE +constant _SC_MQ_OPEN_MAX +constant _SC_MQ_PRIO_MAX +constant _SC_NGROUPS_MAX +constant _SC_OPEN_MAX +constant _SC_PAGESIZE +constant _SC_PAGE_SIZE +constant _SC_PASS_MAX +constant _SC_PRIORITIZED_IO +constant _SC_PRIORITY_SCHEDULING +constant _SC_RE_DUP_MAX +constant _SC_REALTIME_SIGNALS +constant _SC_RTSIG_MAX +constant _SC_SAVED_IDS +constant _SC_SEMAPHORES +constant _SC_SEM_NSEMS_MAX +constant _SC_SEM_VALUE_MAX +constant _SC_SHARED_MEMORY_OBJECTS +constant _SC_SIGQUEUE_MAX +constant _SC_STREAM_MAX +constant _SC_SYNCHRONIZED_IO +constant _SC_THREADS +constant _SC_THREAD_ATTR_STACKADDR +constant _SC_THREAD_ATTR_STACKSIZE +constant _SC_THREAD_DESTRUCTOR_ITERATIONS +constant _SC_THREAD_KEYS_MAX +constant _SC_THREAD_PRIORITY_SCHEDULING +constant _SC_THREAD_PRIO_INHERIT +constant _SC_THREAD_PRIO_PROTECT +constant _SC_THREAD_PROCESS_SHARED +constant _SC_THREAD_SAFE_FUNCTIONS +constant _SC_THREAD_STACK_MIN +constant _SC_THREAD_THREADS_MAX +constant _SC_TIMERS +constant _SC_TIMER_MAX +constant _SC_TTY_NAME_MAX +constant _SC_TZNAME_MAX +constant _SC_VERSION +constant _SC_XOPEN_VERSION +constant _SC_XOPEN_CRYPT +constant _SC_XOPEN_ENH_I18N +constant _SC_XOPEN_SHM +constant _SC_XOPEN_UNIX +constant _SC_XOPEN_XCU_VERSION +constant _SC_XOPEN_LEGACY +constant _SC_XOPEN_REALTIME +constant _SC_XOPEN_REALTIME_THREADS +constant _SC_XBS5_ILP32_OFF32 +constant _SC_XBS5_ILP32_OFFBIG +constant _SC_XBS5_ILP64_OFF64 +constant _SC_XBS5_ILPIBIG_OFFBIG + +constant F_LOCK +constant F_ULOCK +constant F_TEST +constant F_TLOCK + +constant _PC_ASYNC_IO +constant _PC_CHOWN_RESTRICTED +constant _PC_FILESIZEBITS +constant _PC_LINK_MAX +constant _PC_MAX_CANON +constant _PC_MAX_INPUT +constant _PC_NAME_MAX +constant _PC_NO_TRUNC +constant _PC_PATH_MAX +constant _PC_PIPE_BUF +constant _PC_PRIO_IO +constant _PC_SYNC_IO +constant _PC_VDISABLE + +constant STDIN_FILENO +constant STDOUT_FILENO +constant STDERR_FILENO + +type size_t +type ssize_t +type uid_t +type gid_t +type uid_t +type pid_t + +type useconds_t + +type intptr_t + +function int access (const char*, int) +function {unsigned int} alarm (unsigned int) +function int brk (void*) +function int chdir (const char*) +function int chroot (const char*) +function int chown (const char*, uid_t, gid_t) +function int close (int) +function size_t confstr (int, char*, size_t) +function {char*} crypt (const char*, const char*) +function {char*} ctermid (char*) +function {char*} cuserid (char*) +function int dup (int) +function int dup2 (int, int) +function void encrypt (char[64], int) +function int execl (const char*, const char*, ...) +function int execle (const char*, const char*, ...) +function int execlp (const char*, const char*, ...) +function int execv (const char*, char *const[]) +function int execve (const char*, char *const[]) +function int execvp (const char*, char *const[]) +function void _exit (int) +function int fchown (int, uid_t, gid_t) +function int fchdir (int) +function int fdatasync (int) +function pid_t fork (void) +function {long int} fpathconf (int, int) +function int fsync (int) +function int ftruncate (int, off_t) +function {char*} getcwd (char*, size_t) +function int getdtablesize (void) +function gid_t getegid (void) +function uid_t geteuid (void) +function gid_t getgid (void) +function int getgroups (int, gid_t[]) +function long gethostid (void) +function {char*} getlogin (void) +function int getlogin_r (char*, size_t) +function int getopt (int, char*const[], const char*) +function int getpagesize (void) +function {char*} getpass (const char*) +function pid_t getpgid (pid_t) +function pid_t getpgrp (void) +function pid_t getpid (void) +function pid_t getppid (void) +function pid_t getsid (void) +function uid_t getuid (void) +function {char*} getwd (char*) +function int isatty (int) +function int lchown (const char*, uid_t, gid_t) +function int link (const char*, const char*) +function int lockf (int, int, off_t) +function off_t lseek (int, off_t, int) +function int nice (int) +function {long int} pathconf (const char*, int) +function int pause (void) +function int pipe (int[2]) +function ssize_t pread (int, void*, size_t, off_t) +function int pthread_atfork (void(*)(void), void(*)(void), void(*)(void)) +function ssize_t pwrite (int, const void*, size_t, off_t) +function ssize_t read (int, void*, size_t) +function int readlink (const char*, char*, size_t) +function int rmdir (const char*) +function {void*} sbrk (intptr_t) +function int setgid (gid_t) +function int setpgid (pid_t, pid_t) +function pid_t setpgrp (void) +function int setregid (gid_t, gid_t) +function int setreuid (uid_t, uid_t) +function pid_t setsid (void) +function int setuid (uid_t) +function {unsigned int} sleep (unsigned int) +function void swab (const char*, void*, ssize_t) +function int symlink (const char*, const char*) +function void sync (void) +function {long int} sysconf (int) +function pid_t tcgetpgrp (int) +function int tcsetpgrp (int, pid_t) +function int truncate (const char*, off_t) +function {char*} ttyname (int) +function int ttyname_r (int, char*, size_t) +function useconds_t ualarm (useconds_t, useconds_t) +function int unlink (const char*) +function int usleep (useconds_t) +function pid_t vfork (void) +function ssize_t write (int, const void*, size_t) + +variable {char*} optarg +variable int optind +variable int opterr +variable int optopt + +allow *_t |