diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-21 06:49:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-21 06:49:52 +0000 |
commit | 98cbe360d947b59e7a5eda068581f4cfeb4b99b3 (patch) | |
tree | cea10cb9c398de637781b09112ca635518cf3944 /posix/unistd.h | |
parent | 4aebaa6bd906383aca1b7a5e1251b0d1652f9f7c (diff) | |
download | glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.zip glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.tar.gz glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.tar.bz2 |
Update.
* misc/sys/cdefs.h: Define __restrict_arr.
* include/sys/time.h: Add restrict where required by AGd4.
* inet/arpa/inet.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statvfs.h: Likewise.
* misc/search.h: Likewise.
* misc/sys/select.h: Likewise.
* posix/glob.h: Likewise.
* posix/regex.h: Likewise.
* posix/spawn.h: Likewise.
* posix/unistd.h: Likewise.
* rt/aio.h: Likewise.
* signal/signal.h: Likewise.
* socket/sys/socket.h: Likewise.
* stdlib/ucontext.h: Likewise.
* streams/stropts.h: Likewise.
* string/string.h: Likewise.
* time/time.h: Likewise.
* time/sys/time.h: Likewise.
* posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
and posix_spawnattr_setscheparam.
* libio/stdio.h: Make cuserid prototype again available for all
XPG versions.
Diffstat (limited to 'posix/unistd.h')
-rw-r--r-- | posix/unistd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index 0df0e93e..eebfe88 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -696,7 +696,8 @@ extern int symlink (__const char *__from, __const char *__to) __THROW; /* Read the contents of the symbolic link PATH into no more than LEN bytes of BUF. The contents are not null-terminated. Returns the number of characters read, or -1 for errors. */ -extern int readlink (__const char *__path, char *__buf, size_t __len) __THROW; +extern int readlink (__const char *__restrict __path, char *__restrict __buf, + size_t __len) __THROW; #endif /* Use BSD. */ /* Remove the link NAME. */ @@ -961,7 +962,8 @@ extern void encrypt (char *__block, int __edflag) __THROW; FROM and copy the result to TO. The value of TO must not be in the range [FROM - N + 1, FROM - 1]. If N is odd the first byte in FROM is without partner. */ -extern void swab (__const void *__from, void *__to, ssize_t __n) __THROW; +extern void swab (__const void *__restrict __from, void *__restrict __to, + ssize_t __n) __THROW; #endif |