diff options
author | jlemon <jlemon@FreeBSD.org> | 2000-07-18 19:31:52 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2000-07-18 19:31:52 +0000 |
commit | 717104720438689588cc958bf3016b3f7930189b (patch) | |
tree | 05255c6232c0c7bad7137781cf031061e43a8d0d /lib/libc | |
parent | 613d783c9563e8d6915c7b58a4d9fd84bd83c356 (diff) | |
download | FreeBSD-src-717104720438689588cc958bf3016b3f7930189b.zip FreeBSD-src-717104720438689588cc958bf3016b3f7930189b.tar.gz |
Simplify kqueue API slightly.
Discussed on: -arch
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/kqueue.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 0ea64bb..afb7e98 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -39,7 +39,7 @@ .Ft int .Fn kqueue "void" .Ft int -.Fn kevent "int kq" "int nchanges" "struct kevent **changelist" "int nevents" "struct kevent *eventlist" "struct timespec *timeout" +.Fn kevent "int kq" "const struct kevent *changelist" "int nchanges" "struct kevent *eventlist" "int nevents" "const struct timespec *timeout" .Sh DESCRIPTION .Fn kqueue provides a generic method of notifying the user when an event @@ -77,7 +77,7 @@ which will allow sharing of the kqueue between two processes. is used to register events with the queue, and return any pending events to the user. .Fa changelist -is a pointer to an array of pointers to +is a pointer to an array of .Va kevent structures, as defined in .Aq Pa event.h . |