diff options
author | jlemon <jlemon@FreeBSD.org> | 2000-04-16 18:53:38 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2000-04-16 18:53:38 +0000 |
commit | c41c876463ee8c302f06554537e0fb22a3fcdca4 (patch) | |
tree | d2f87a6af04c4f35f243bf580d099496a4131330 /sys/sys/sysproto.h | |
parent | f8f9ad64d408b963d98d0e11b37e871763557e95 (diff) | |
download | FreeBSD-src-c41c876463ee8c302f06554537e0fb22a3fcdca4.zip FreeBSD-src-c41c876463ee8c302f06554537e0fb22a3fcdca4.tar.gz |
Introduce kqueue() and kevent(), a kernel event notification facility.
Diffstat (limited to 'sys/sys/sysproto.h')
-rw-r--r-- | sys/sys/sysproto.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index cbe86de..c36a64d 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 |