diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-17 03:10:29 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-17 03:10:29 +0000 |
| commit | 164a928b77f596b6617a4bbf43a2c06bc35a5602 (patch) | |
| tree | 8d1f20c152e2eec919c58e3259a20cc038b5d7c4 /include/sys/sendfile.h | |
| parent | 8c325ee38bf779dc5d51e41281d3b8230c3af971 (diff) | |
| download | uClibc-alpine-164a928b77f596b6617a4bbf43a2c06bc35a5602.tar.bz2 uClibc-alpine-164a928b77f596b6617a4bbf43a2c06bc35a5602.tar.xz | |
Merge from trunk.
Diffstat (limited to 'include/sys/sendfile.h')
| -rw-r--r-- | include/sys/sendfile.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/sys/sendfile.h b/include/sys/sendfile.h index 797822b9f..5fcfffbbc 100644 --- a/include/sys/sendfile.h +++ b/include/sys/sendfile.h @@ -1,5 +1,5 @@ /* sendfile -- copy data directly from one file descriptor to another - Copyright (C) 1998,99,01,2002 Free Software Foundation, Inc. + Copyright (C) 1998,99,01,2002,2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -32,20 +32,19 @@ __BEGIN_DECLS case of error. */ #ifndef __USE_FILE_OFFSET64 extern ssize_t sendfile (int __out_fd, int __in_fd, off_t *__offset, - size_t __count) __THROW; + size_t __count) __THROW __nonnull ((3)); #else # ifdef __REDIRECT extern ssize_t __REDIRECT (sendfile, - (int __out_fd, int __in_fd, __off64_t *__offset, - size_t __count) __THROW, - sendfile64); + (int __out_fd, int __in_fd, __off64_t *__offset, + size_t __count), sendfile64) __nonnull ((3)); # else # define sendfile sendfile64 # endif #endif #ifdef __USE_LARGEFILE64 extern ssize_t sendfile64 (int __out_fd, int __in_fd, __off64_t *__offset, - size_t __count) __THROW; + size_t __count) __THROW __nonnull ((3)); #endif __END_DECLS |
