diff options
author | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-07-22 03:16:59 +0000 |
---|---|---|
committer | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-07-22 03:16:59 +0000 |
commit | 87bcdf89d0fafdfb2aefbff8b6ac70e821228edc (patch) | |
tree | e2f55a89094a376b227494dc288abe7c5ebf3edf /lib/libc/gen/login_cap.3 | |
parent | 79d94f31b972e323af77a48f0d7a3c2b11fff708 (diff) |
- sync prototypes and header file excerpts to reality
- many grammar, punctuation, macro, layout, spelling/typos,
rewording, etc. fixes
- avoid first person
- sprinkle crossrefs where relevant
help & ok jmc
Diffstat (limited to 'lib/libc/gen/login_cap.3')
-rw-r--r-- | lib/libc/gen/login_cap.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/gen/login_cap.3 b/lib/libc/gen/login_cap.3 index 5273b3c4acb..66aed5bc335 100644 --- a/lib/libc/gen/login_cap.3 +++ b/lib/libc/gen/login_cap.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: login_cap.3,v 1.12 2004/08/09 21:15:09 millert Exp $ +.\" $OpenBSD: login_cap.3,v 1.13 2005/07/22 03:16:58 jaredy Exp $ .\" BSDI $From: login_cap.3,v 1.4 1997/11/07 16:22:27 jch Exp $ .\" .Dd July 16, 1996 @@ -56,7 +56,7 @@ .Ft char * .Fn login_getstyle "login_cap_t *lc" "char *style" "char *type" .Ft int -.Fn login_getcapbool "login_cap_t *lc" "char *cap" "u_int def" +.Fn login_getcapbool "login_cap_t *lc" "char *cap" "unsigned int def" .Ft quad_t .Fn login_getcapnum "login_cap_t *lc" "char *cap" "quad_t def" "quad_t err" .Ft quad_t @@ -70,9 +70,9 @@ .Ft int .Fn secure_path "char *path" .Ft int -.Fn setclasscontext "char *class" "u_int flags" +.Fn setclasscontext "char *class" "unsigned flags" .Ft int -.Fn setusercontext "login_cap_t *lc" "struct passwd *pwd" "uid_t uid" "u_int flags" +.Fn setusercontext "login_cap_t *lc" "struct passwd *pwd" "uid_t uid" "unsigned flags" .Sh DESCRIPTION The .Fn login_getclass @@ -131,8 +131,8 @@ If .Ar type is .Dv NULL -then only "auth" will be looked at. -(See +then only "auth" will be looked at +(see .Xr login.conf 5 ) . The .Fn login_getstyle @@ -166,7 +166,7 @@ It returns .Ar def if no capabilities were found for this class (typically meaning that the default class was used and the -.Li /etc/login.conf +.Pa /etc/login.conf file is missing). It returns a non-zero value if .Ar cap , @@ -193,8 +193,8 @@ Only the .Dv LOGIN_SETRESOURCES , and .Dv LOGIN_SETUMASK -bits are used. -(See +bits are used +(see .Fn setusercontext below). It returns 0 on success and \-1 on failure. @@ -235,7 +235,7 @@ are: .It Dv LOGIN_SETENV Sets environment variables specified by the setenv keyword. .It Dv LOGIN_SETGROUP -Set the group id and call +Set the group ID and call .Xr initgroups 3 . Requires the .Ar pwd |