login_times.3 (4aee48edccd1ec89a29a44be2a509c807b23c324) | login_times.3 (3dc329d1be00b8b4ba4a45886b6374289daa8ab0) |
---|---|
1.\" Copyright (c) 1995 David Nugent <davidn@blaze.net.au> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, is permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice immediately at the beginning of the file, without modification, --- 13 unchanged lines hidden (view full) --- 22.Dd January 2, 1997 23.Os FreeBSD 24.Dt LOGIN_TIMES 3 25.Sh NAME 26.Nm parse_lt , 27.Nm in_ltm , 28.Nm in_ltms 29.Nd functions for parsing and checking login time periods | 1.\" Copyright (c) 1995 David Nugent <davidn@blaze.net.au> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, is permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice immediately at the beginning of the file, without modification, --- 13 unchanged lines hidden (view full) --- 22.Dd January 2, 1997 23.Os FreeBSD 24.Dt LOGIN_TIMES 3 25.Sh NAME 26.Nm parse_lt , 27.Nm in_ltm , 28.Nm in_ltms 29.Nd functions for parsing and checking login time periods |
30.Sh LIBRARY 31.Lb libutil |
|
30.Sh SYNOPSIS 31.Fd #include <sys/types.h> 32.Fd #include <time.h> 33.Fd #include <login_cap.h> 34.Ft login_time_t 35.Fn parse_lt "const char *str" 36.Ft int 37.Fn in_ltm "const login_time_t *lt" "struct tm *t" "time_t *ends" 38.Ft int 39.Fn in_ltms "const login_time_t *lt" "struct tm *t" "time_t *ends" | 32.Sh SYNOPSIS 33.Fd #include <sys/types.h> 34.Fd #include <time.h> 35.Fd #include <login_cap.h> 36.Ft login_time_t 37.Fn parse_lt "const char *str" 38.Ft int 39.Fn in_ltm "const login_time_t *lt" "struct tm *t" "time_t *ends" 40.Ft int 41.Fn in_ltms "const login_time_t *lt" "struct tm *t" "time_t *ends" |
40.Pp 41Link with 42.Va -lutil 43on the 44.Xr cc 1 45command line. | |
46.Sh DESCRIPTION 47This set of functions may be used for parsing and checking login and 48session times against a predefined list of allowed login times as 49used in 50.Xr login.conf 5 . 51.Pp 52The format of allowed and disallowed session times specified in the 53.Ar times.allow --- 108 unchanged lines hidden --- | 42.Sh DESCRIPTION 43This set of functions may be used for parsing and checking login and 44session times against a predefined list of allowed login times as 45used in 46.Xr login.conf 5 . 47.Pp 48The format of allowed and disallowed session times specified in the 49.Ar times.allow --- 108 unchanged lines hidden --- |