2012-06-16 01:52:53 +00:00
|
|
|
#ifndef _SYS_SENDFILE_H
|
|
|
|
#define _SYS_SENDFILE_H
|
2011-03-19 01:52:26 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
ssize_t sendfile(int, int, off_t *, size_t);
|
|
|
|
|
2012-06-04 12:03:56 +00:00
|
|
|
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
|
2012-05-04 04:31:25 +00:00
|
|
|
#define sendfile64 sendfile
|
|
|
|
#define off64_t off_t
|
|
|
|
#endif
|
|
|
|
|
2011-03-19 01:52:26 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|