diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-12-19 08:08:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-12-19 08:08:59 +0000 |
commit | e9e9b245b98b8aeb8b8e898dce2b8c0f771602d6 (patch) | |
tree | 8cedb8e3ff9898a02990d88802319f68e99ac268 /include | |
parent | 778c59c850879b2ffc7a396cecfa5a5ad68a40e6 (diff) | |
download | glibc-e9e9b245b98b8aeb8b8e898dce2b8c0f771602d6.zip glibc-e9e9b245b98b8aeb8b8e898dce2b8c0f771602d6.tar.gz glibc-e9e9b245b98b8aeb8b8e898dce2b8c0f771602d6.tar.bz2 |
Update.
* misc/sys/cdefs.h: Define __attribute_malloc__ according to
available gcc version.
* string/string.h: Mark strdup, __strdup, and strndup with
__attribute_malloc__.
* stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
__attribute_malloc__.
* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvallc,
__morecore, and __default_morecore with __attribute_malloc__.
Provide default definition for __attribute_malloc__.
* libio/stdio.h: Make tempnam with __attribute_malloc__.
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index 642f1d2..d8fc6cc 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -5,6 +5,7 @@ extern int __access (__const char *__name, int __type); extern int __euidaccess (__const char *__name, int __type); extern int __libc_open64 (const char *file, int oflag, ...); +extern int __libc_open (const char *file, int oflag, ...); extern __off64_t __lseek64 (int __fd, __off64_t __offset, int __whence); extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence); extern ssize_t __pread (int __fd, void *__buf, size_t __nbytes, @@ -19,6 +20,8 @@ extern ssize_t __libc_pwrite (int __fd, __const void *__buf, size_t __n, __off_t __offset); extern ssize_t __libc_pwrite64 (int __fd, __const void *__buf, size_t __n, __off64_t __offset); +extern ssize_t __libc_read (int __fd, void *__buf, size_t __n); +extern ssize_t __libc_write (int __fd, __const void *__buf, size_t __n); extern int __pipe (int __pipedes[2]); extern unsigned int __sleep (unsigned int __seconds); extern int __chown (__const char *__file, |