summaryrefslogtreecommitdiffstats
path: root/sys/sys/syscall.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>1999-03-27 21:16:58 +0000
committeralc <alc@FreeBSD.org>1999-03-27 21:16:58 +0000
commitc9eccc7347cc4051a3db16f68f3a854908494917 (patch)
tree5921615b06b186f28e5d3133d7bc1b1a43ab944d /sys/sys/syscall.h
parent807da996a2d52fdc0c28d408fabc635bb3c681d4 (diff)
downloadFreeBSD-src-c9eccc7347cc4051a3db16f68f3a854908494917.zip
FreeBSD-src-c9eccc7347cc4051a3db16f68f3a854908494917.tar.gz
Added pread and pwrite. These functions are defined by the X/Open
Threads Extension. (Note: We use the same syscall numbers as NetBSD.) Submitted by: John Plevyak <jplevyak@inktomi.com>
Diffstat (limited to 'sys/sys/syscall.h')
-rw-r--r--sys/sys/syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 464ea91..b4fcab9 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -166,6 +166,8 @@
#define SYS_semsys 169
#define SYS_msgsys 170
#define SYS_shmsys 171
+#define SYS_pread 173
+#define SYS_pwrite 174
#define SYS_ntp_adjtime 176
#define SYS_setgid 181
#define SYS_setegid 182
OpenPOWER on IntegriCloud