diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-04 14:28:20 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-04 14:28:20 -0700 |
commit | 969d433362d5e8427e3ef4a4293c65b2a6a94f12 (patch) | |
tree | 9808c1581f185fdb4de515ac7c15fbd360a2c7a1 | |
parent | 0ec5761c82a818cb9d5c22d3aa4fc80f3179322e (diff) | |
parent | c06061de23104901204fa28d57432baaa9717053 (diff) |
Merge pull request #1460 from yukoba/sys-sendfile-h
Add sys/sendfile.h
-rw-r--r-- | system/include/sys/sendfile.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/system/include/sys/sendfile.h b/system/include/sys/sendfile.h new file mode 100644 index 00000000..1f58f0dd --- /dev/null +++ b/system/include/sys/sendfile.h @@ -0,0 +1,16 @@ +#ifndef _SYS_SENDFILE_H +#define _SYS_SENDFILE_H + +#include <sys/types.h> + +#ifdef __cplusplus +extern "C" { +#endif + +ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count); + +#ifdef __cplusplus +} +#endif + +#endif |