2022-05-23 22:06:11 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_SOCK_SENDFILE_INTERNAL_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_SOCK_SENDFILE_INTERNAL_H_
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
|
|
|
int sys_sendfile_xnu(int32_t infd, int32_t outfd, int64_t offset,
|
|
|
|
int64_t *out_opt_sbytes, const void *opt_hdtr,
|
2023-07-24 15:31:54 +00:00
|
|
|
int32_t flags);
|
2022-05-23 22:06:11 +00:00
|
|
|
|
|
|
|
int sys_sendfile_freebsd(int32_t infd, int32_t outfd, int64_t offset,
|
|
|
|
size_t nbytes, const void *opt_hdtr,
|
2023-07-24 15:31:54 +00:00
|
|
|
int64_t *out_opt_sbytes, int32_t flags);
|
2022-05-23 22:06:11 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SOCK_SENDFILE_INTERNAL_H_ */
|