diff options
author | Anton Kling <anton@kling.gg> | 2024-10-03 16:08:46 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-10-03 16:09:12 +0200 |
commit | 372c633aa22d826bc515213ad4211791440f60f8 (patch) | |
tree | b2de66c9bf612a0a149c65786335a6cebde37840 /userland/libc/include/sys/sendfile.h | |
parent | 226d861c9ebb7f09f95665d07d9ab5c6b7ed7d6f (diff) |
libc: Add sendfile and queue
Diffstat (limited to 'userland/libc/include/sys/sendfile.h')
-rw-r--r-- | userland/libc/include/sys/sendfile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/userland/libc/include/sys/sendfile.h b/userland/libc/include/sys/sendfile.h new file mode 100644 index 0000000..5e83999 --- /dev/null +++ b/userland/libc/include/sys/sendfile.h @@ -0,0 +1,7 @@ +#include <stdint.h> +#include <typedefs.h> +#include <stddef.h> +#include <sys/types.h> + +u32 sendfile(int out_fd, int in_fd, off_t *offset, size_t count, + int *error_rc); |