summaryrefslogtreecommitdiffstats
path: root/lib/libutil/login_cap.3
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2003-03-24 16:02:05 +0000
committercharnier <charnier@FreeBSD.org>2003-03-24 16:02:05 +0000
commitf0ffe0ef9f006aa0c680f7def2d63f561eaade3f (patch)
tree1a092156e84df44700be1a9dde40cf947f43e35a /lib/libutil/login_cap.3
parent4a7a5ceb415b6b952d09c593efb016bf4e786972 (diff)
downloadFreeBSD-src-f0ffe0ef9f006aa0c680f7def2d63f561eaade3f.zip
FreeBSD-src-f0ffe0ef9f006aa0c680f7def2d63f561eaade3f.tar.gz
The .Fn function
Diffstat (limited to 'lib/libutil/login_cap.3')
-rw-r--r--lib/libutil/login_cap.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libutil/login_cap.3 b/lib/libutil/login_cap.3
index f134d55..ccbb93f 100644
--- a/lib/libutil/login_cap.3
+++ b/lib/libutil/login_cap.3
@@ -178,8 +178,9 @@ As noted above, the
.Fn get*class
functions return a login_cap_t object which is used to access
the matching or default record in the capabilities database.
+The
.Fn getclassbyname
-accepts two arguments: the first one is the record identifier of the
+function accepts two arguments: the first one is the record identifier of the
record to be retrieved, the second is an optional directory name.
If the first
.Ar name
@@ -253,8 +254,9 @@ has no login class, then the system "default" entry is retrieved.
Once a program no longer wishes to use a login_cap_t object,
.Fn login_close
may be called to free all resources used by the login class.
+The
.Fn login_close
-may be passed a NULL pointer with no harmful side-effects.
+function may be passed a NULL pointer with no harmful side-effects.
.Pp
The remaining functions may be used to retrieve individual
capability records.
OpenPOWER on IntegriCloud