Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106106164
D9605.id25258.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
947 B
Referenced Files
None
Subscribers
None
D9605.id25258.diff
View Options
Index: head/lib/libc/sys/kqueue.2
===================================================================
--- head/lib/libc/sys/kqueue.2
+++ head/lib/libc/sys/kqueue.2
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 3, 2016
+.Dd February 15, 2017
.Dt KQUEUE 2
.Os
.Sh NAME
@@ -34,9 +34,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.In sys/types.h
.In sys/event.h
-.In sys/time.h
.Ft int
.Fn kqueue "void"
.Ft int
@@ -633,15 +631,12 @@
returns 0.
.Sh EXAMPLES
.Bd -literal -compact
-#include <sys/types.h>
#include <sys/event.h>
-#include <sys/time.h>
#include <err.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
int
main(int argc, char **argv)
@@ -769,3 +764,9 @@
.Fa timeout
value is limited to 24 hours; longer timeouts will be silently
reinterpreted as 24 hours.
+.Pp
+Previous versions of
+.In sys/event.h
+fail to parse without including
+.In sys/types.h
+manually.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 12:16 PM (11 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15599850
Default Alt Text
D9605.id25258.diff (947 B)
Attached To
Mode
D9605: Remove unnecessary #includes from the kqueue(2) man page.
Attached
Detach File
Event Timeline
Log In to Comment