aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sysproto.h
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2000-04-16 18:53:38 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2000-04-16 18:53:38 +0000
commitcb679c385ef325d11f162e09b604df7532fc8009 (patch)
tree118c8e6af03d2c48eea1ba777e7f32078267d53f /sys/sys/sysproto.h
parent3c6b6b90c7f43bf41a1874ef99d72a32113bfbea (diff)
downloadsrc-cb679c385ef325d11f162e09b604df7532fc8009.tar.gz
src-cb679c385ef325d11f162e09b604df7532fc8009.zip
Introduce kqueue() and kevent(), a kernel event notification facility.
Notes
Notes: svn path=/head/; revision=59288
Diffstat (limited to 'sys/sys/sysproto.h')
-rw-r--r--sys/sys/sysproto.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index cbe86deff1a8..c36a64ddc9f7 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.72 2000/01/19 06:01:07 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.73 2000/04/03 06:36:14 alfred Exp
*/
#ifndef _SYS_SYSPROTO_H_
@@ -1013,6 +1013,17 @@ struct getresgid_args {
gid_t * egid; char egid_[PAD_(gid_t *)];
gid_t * sgid; char sgid_[PAD_(gid_t *)];
};
+struct kqueue_args {
+ register_t dummy;
+};
+struct kevent_args {
+ int fd; char fd_[PAD_(int)];
+ int nchanges; char nchanges_[PAD_(int)];
+ struct kevent ** changelist; char changelist_[PAD_(struct kevent **)];
+ int nevents; char nevents_[PAD_(int)];
+ struct kevent * eventlist; char eventlist_[PAD_(struct kevent *)];
+ struct timespec * timeout; char timeout_[PAD_(struct timespec *)];
+};
int nosys __P((struct proc *, struct nosys_args *));
void exit __P((struct proc *, struct rexit_args *)) __dead2;
int fork __P((struct proc *, struct fork_args *));
@@ -1243,6 +1254,8 @@ int extattr_delete_file __P((struct proc *, struct extattr_delete_file_args *));
int aio_waitcomplete __P((struct proc *, struct aio_waitcomplete_args *));
int getresuid __P((struct proc *, struct getresuid_args *));
int getresgid __P((struct proc *, struct getresgid_args *));
+int kqueue __P((struct proc *, struct kqueue_args *));
+int kevent __P((struct proc *, struct kevent_args *));
#ifdef COMPAT_43