diff --git a/lib/kafs/kafs.3 b/lib/kafs/kafs.3 index 005751b33..2ae671f6b 100644 --- a/lib/kafs/kafs.3 +++ b/lib/kafs/kafs.3 @@ -14,6 +14,8 @@ .\" .Nm krb5_afslog , .\" .Nm krb5_afslog_uid .Nd AFS library +.Sh LIBRARY +AFS cache manager access library (libkafs, -lkafs) .Sh SYNOPSIS .Fd #include .Ft int @@ -101,18 +103,6 @@ initializes a new PAG. .Pp .Fn k_unlog removes destroys all tokens in the current PAG. -.Sh ENVIRONMENT -The following environment variable affect the mode of operation of -.Nm kafs : -.Bl -tag -width AFS_SYSCALL -.It Ev AFS_SYSCALL -Normally, -.Nm kafs -will try to figure out the correct system call(s) that are used by AFS -by itself. If it does not manage to do that, or does it incorrectly, -you can set this variable to the system call number or list of system -call numbers that should be used. -.El .Sh RETURN VALUES .Fn k_hasafs returns 1 if AFS is present in the kernel, 0 otherwise. @@ -126,6 +116,18 @@ returns 0 on success, or a kerberos error number on failure. and .Fn k_unlog all return the value of the underlaying system call, 0 on success. +.Sh ENVIRONMENT +The following environment variable affect the mode of operation of +.Nm kafs : +.Bl -tag -width AFS_SYSCALL +.It Ev AFS_SYSCALL +Normally, +.Nm kafs +will try to figure out the correct system call(s) that are used by AFS +by itself. If it does not manage to do that, or does it incorrectly, +you can set this variable to the system call number or list of system +call numbers that should be used. +.El .Sh EXAMPLES The following code from .Nm login