summaryrefslogtreecommitdiffstats
path: root/lib/libutil/login_cap.3
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2000-04-22 16:17:00 +0000
committerphantom <phantom@FreeBSD.org>2000-04-22 16:17:00 +0000
commit13fe72d4bfdb65c20204a9dfa3cb0294704fe24a (patch)
tree1edb99ae9e36e3b0bd810281b942aac8dc274493 /lib/libutil/login_cap.3
parent090008a89cb4d0bc5e566cc82b18765d0de3e124 (diff)
downloadFreeBSD-src-13fe72d4bfdb65c20204a9dfa3cb0294704fe24a.zip
FreeBSD-src-13fe72d4bfdb65c20204a9dfa3cb0294704fe24a.tar.gz
Introduce .Lb macro to libutil manpages
Sort .Nm values in some manpages Remove explicit note about compiling with -lutil, it's implicitly declared by .Lb macro now.
Diffstat (limited to 'lib/libutil/login_cap.3')
-rw-r--r--lib/libutil/login_cap.327
1 files changed, 12 insertions, 15 deletions
diff --git a/lib/libutil/login_cap.3 b/lib/libutil/login_cap.3
index e5cc17b..aab53da 100644
--- a/lib/libutil/login_cap.3
+++ b/lib/libutil/login_cap.3
@@ -23,19 +23,21 @@
.Os FreeBSD
.Dt LOGIN_CAP 3
.Sh NAME
-.Nm login_getclassbyname ,
.Nm login_close ,
-.Nm login_getclass ,
-.Nm login_getpwclass ,
-.Nm login_getuserclass ,
-.Nm login_getcapstr ,
+.Nm login_getcapbool ,
.Nm login_getcaplist ,
-.Nm login_getcaptime ,
.Nm login_getcapnum ,
+.Nm login_getcapstr ,
.Nm login_getcapsize ,
-.Nm login_getcapbool ,
-.Nm login_getstyle
+.Nm login_getcaptime ,
+.Nm login_getclass ,
+.Nm login_getclassbyname ,
+.Nm login_getpwclass ,
+.Nm login_getstyle ,
+.Nm login_getuserclass
.Nd functions for accessing the login class capabilities database.
+.Sh LIBRARY
+.Lb libutil
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <login_cap.h>
@@ -65,12 +67,6 @@
.Fn login_getcapbool "login_cap_t *lc" "const char *cap" "int def"
.Ft char *
.Fn login_getstyle "login_cap_t *lc" "char *style" "const char *auth"
-.Pp
-Link with
-.Va -lutil
-on the
-.Xr cc 1
-command line.
.Sh DESCRIPTION
These functions represent a programming interface to the login
classes database provided in
@@ -318,7 +314,8 @@ Case of the units suffix is ignored.
Time values are normally used for setting resource, accounting and
session limits.
If supported by the operating system and compiler (which is true of
-FreeBSD), the value returned is a quad (long long), of type
+.Fx ),
+the value returned is a quad (long long), of type
.Em rlim_t .
A value "inf" or "infinity" may be used to express an infinite
value, in which case RLIM_INFINITY is returned.
OpenPOWER on IntegriCloud