diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-11-22 19:06:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-11-22 19:06:27 +0000 |
commit | bd547139c77f2f3bb581d329e70c2c5cd246a3ab (patch) | |
tree | f7b20ca29fca4b81fe969c7f4ebe06e2e5f7599b /nscd/nscd-client.h | |
parent | 8522a053940d49e11cbb1a839b4e9ae62f9fad4a (diff) | |
download | glibc-bd547139c77f2f3bb581d329e70c2c5cd246a3ab.tar.gz glibc-bd547139c77f2f3bb581d329e70c2c5cd246a3ab.tar.xz glibc-bd547139c77f2f3bb581d329e70c2c5cd246a3ab.zip |
* nscd/connections.c (sendfileall): Define.
(handle_request): Use it instead of sendfile call. * nscd/nscd-client.h: Declare sendfileall. * nscd/aicache.c: Use sendfileall instead of sendfile. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/pwdcache.c: Likewise.
Diffstat (limited to 'nscd/nscd-client.h')
-rw-r--r-- | nscd/nscd-client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h index 1389f2da19..98c167eb62 100644 --- a/nscd/nscd-client.h +++ b/nscd/nscd-client.h @@ -319,5 +319,7 @@ extern ssize_t __readvall (int fd, const struct iovec *iov, int iovcnt) attribute_hidden; extern ssize_t writeall (int fd, const void *buf, size_t len) attribute_hidden; +extern ssize_t sendfileall (int tofd, int fromfd, off_t off, size_t len) + attribute_hidden; #endif /* nscd.h */ |