From 6639e9bc313b29b52c00ae05208e3400e5a9e45c Mon Sep 17 00:00:00 2001 From: Rick Macklem Date: Thu, 25 Jul 2019 06:10:44 +0000 Subject: [PATCH] Add an entry for copy_file_range(2) to unistd.h. copy_file_range(2) is a Linux compatible syscall created by r350315. Reviewed by: kib, asomers Relnotes: yes Differential Revision: https://reviews.freebsd.org/D20584 --- include/unistd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/unistd.h b/include/unistd.h index 091ff16f4f92..a28be82f0168 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -494,6 +494,7 @@ struct crypt_data { int acct(const char *); int async_daemon(void); int check_utility_compat(const char *); +ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned int); const char * crypt_get_format(void); char *crypt_r(const char *, const char *, struct crypt_data *);