From 52322e338fed741f0a19560c7aa3e2186a6b7b0e Mon Sep 17 00:00:00 2001 From: alfred Date: Wed, 8 Sep 2004 19:47:29 +0000 Subject: Fix a .Fn that should be an .Fa. Clear up the spelling and language when describing how to select/poll for an autofs event. --- lib/libautofs/libautofs.3 | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'lib/libautofs') 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 -- cgit v1.1