aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2019-07-25 06:10:44 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2019-07-25 06:10:44 +0000
commit6639e9bc313b29b52c00ae05208e3400e5a9e45c (patch)
tree3b60dde6b3a11c127787e64d4103eebb8fa37b7f /include
parent78756b9e6f1ae57eddaac3b956dc382fd2f648fa (diff)
downloadsrc-6639e9bc313b29b52c00ae05208e3400e5a9e45c.tar.gz
src-6639e9bc313b29b52c00ae05208e3400e5a9e45c.zip
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
Notes
Notes: svn path=/head/; revision=350318
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
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 *);