summaryrefslogtreecommitdiffstats
path: root/lib/libautofs
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2004-09-08 19:47:29 +0000
committeralfred <alfred@FreeBSD.org>2004-09-08 19:47:29 +0000
commit52322e338fed741f0a19560c7aa3e2186a6b7b0e (patch)
treedd882a244b08276e19804587f792f14789097ece /lib/libautofs
parent90f8c8744c4b58b4f7cb23290bdf60b370cbe34d (diff)
downloadFreeBSD-src-52322e338fed741f0a19560c7aa3e2186a6b7b0e.zip
FreeBSD-src-52322e338fed741f0a19560c7aa3e2186a6b7b0e.tar.gz
Fix a .Fn that should be an .Fa.
Clear up the spelling and language when describing how to select/poll for an autofs event.
Diffstat (limited to 'lib/libautofs')
-rw-r--r--lib/libautofs/libautofs.319
1 files changed, 16 insertions, 3 deletions
diff --git a/lib/libautofs/libautofs.3 b/lib/libautofs/libautofs.3
index 0c92af2..784813e 100644
--- a/lib/libautofs/libautofs.3
+++ b/lib/libautofs/libautofs.3
@@ -96,7 +96,7 @@ The
function returns a handle to an
.Xr autofs 9
filesystem based on the
-.Fn path
+.Fa path
parameter.
The handle returned should be freed via the
.Fn autoh_free
@@ -114,10 +114,23 @@ function.
.Pp
The
.Fn autoh_fd
-function returns a file descriptor that can selected or polled on
-for "excecption" data to detect an
+function returns a file descriptor that can be used with
+.Xr select 2
+or
+.Xr poll 2
+to check for "exceptional" data to detect an
.Xr autofs 9
event.
+Users of
+.Xr select 2
+should set the fd in the
+.Fa exceptfds
+fd_set.
+Users of
+.Xr poll 2
+should set POLLPRI in the pollfd
+.Fa fds
+argument.
.Pp
The
.Fn autoh_mp
OpenPOWER on IntegriCloud