aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/g_event.9
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-07-06 08:21:12 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-07-06 08:21:12 +0000
commit6f39ea8888c644f4f6a4099c08a1cdab65b5d274 (patch)
tree83c10b373fb1b2326095dcf22e0e0c71bbd2c686 /share/man/man9/g_event.9
parent8290e396fb052c992c6ba0cf6051ad8dcb94dfbd (diff)
downloadsrc-6f39ea8888c644f4f6a4099c08a1cdab65b5d274.tar.gz
src-6f39ea8888c644f4f6a4099c08a1cdab65b5d274.zip
Tiny markup fixes.
Notes
Notes: svn path=/head/; revision=131689
Diffstat (limited to 'share/man/man9/g_event.9')
-rw-r--r--share/man/man9/g_event.914
1 files changed, 10 insertions, 4 deletions
diff --git a/share/man/man9/g_event.9 b/share/man/man9/g_event.9
index 42a2e2fa614b..0cb574dd3e03 100644
--- a/share/man/man9/g_event.9
+++ b/share/man/man9/g_event.9
@@ -25,7 +25,7 @@
.\" $FreeBSD$
.\"
.Dd January 16, 2004
-.Dt g_event 9
+.Dt G_EVENT 9
.Os
.Sh NAME
.Nm g_post_event ,
@@ -120,13 +120,15 @@ value.
.It
The
.Fn g_waitfor_event
-function can not be called from an event, since doing so would result
+function cannot be called from an event, since doing so would result
in a deadlock.
.El
.Sh RETURN VALUES
+The
.Fn g_post_event
and
.Fn g_waitfor_event
+functions
return 0 if successful; otherwise an error code is returned.
.Sh ERRORS
Possible errors for the
@@ -136,7 +138,9 @@ function:
.It Bq Er ENOMEM
The
.Fa flag
-argument was set to M_NOWAIT and there was insufficient memory.
+argument was set to
+.Dv M_NOWAIT
+and there was insufficient memory.
.El
.Pp
Possible errors for the
@@ -148,7 +152,9 @@ The event was canceled.
.It Bq Er ENOMEM
The
.Fa flag
-argument was set to M_NOWAIT and there was insufficient memory.
+argument was set to
+.Dv M_NOWAIT
+and there was insufficient memory.
.El
.Sh EXAMPLES
Example of a function called from the event queue.