summaryrefslogtreecommitdiffstats
path: root/lib/libutil/login_times.3
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2000-01-18 01:27:47 +0000
committerbillf <billf@FreeBSD.org>2000-01-18 01:27:47 +0000
commit1fb52e454373e03ecf8f2a6fe03fd95b26b41084 (patch)
tree91a5684f92c702736a5fc7fff05bac1fa073a791 /lib/libutil/login_times.3
parent688f4a7de6d15bc9893dd81b5b135d9e22ab7ad9 (diff)
downloadFreeBSD-src-1fb52e454373e03ecf8f2a6fe03fd95b26b41084.zip
FreeBSD-src-1fb52e454373e03ecf8f2a6fe03fd95b26b41084.tar.gz
Add the "use -lutil" line to all functions that require it so people like
Dan Papsian <bugg@bugg.strangled.net> don't anger wpaul and myself with silly linking errors. Reviewed by: chris
Diffstat (limited to 'lib/libutil/login_times.3')
-rw-r--r--lib/libutil/login_times.36
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libutil/login_times.3 b/lib/libutil/login_times.3
index f80bd83..1d8bd9f 100644
--- a/lib/libutil/login_times.3
+++ b/lib/libutil/login_times.3
@@ -37,6 +37,12 @@
.Fn in_ltm "const login_time_t *lt" "struct tm *t" "time_t *ends"
.Ft int
.Fn in_ltms "const login_time_t *lt" "struct tm *t" "time_t *ends"
+.Pp
+Link with
+.Va -lutil
+on the
+.Xr cc 1
+command line.
.Sh DESCRIPTION
This set of functions may be used for parsing and checking login and
session times against a predefined list of allowed login times as
OpenPOWER on IntegriCloud