getutxent.3 (226836) | getutxent.3 (226846) |
---|---|
1.\" Copyright (c) 2010 Ed Schouten <ed@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" Copyright (c) 2010 Ed Schouten <ed@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/lib/libc/gen/getutxent.3 226836 2011-10-27 13:17:42Z pluknet $ | 25.\" $FreeBSD: head/lib/libc/gen/getutxent.3 226846 2011-10-27 17:05:18Z ed $ |
26.\" 27.Dd February 19, 2011 28.Dt GETUTXENT 3 29.Os 30.Sh NAME 31.Nm endutxent , 32.Nm getutxent , 33.Nm getutxid , --- 262 unchanged lines hidden (view full) --- 296function writes record 297.Fa utmpx 298to the system-default user accounting databases. 299The value of 300.Fa ut_type 301determines which databases are modified. 302.Pp 303Entries of type | 26.\" 27.Dd February 19, 2011 28.Dt GETUTXENT 3 29.Os 30.Sh NAME 31.Nm endutxent , 32.Nm getutxent , 33.Nm getutxid , --- 262 unchanged lines hidden (view full) --- 296function writes record 297.Fa utmpx 298to the system-default user accounting databases. 299The value of 300.Fa ut_type 301determines which databases are modified. 302.Pp 303Entries of type |
304.Dv BOOT_TIME , | |
305.Dv SHUTDOWN_TIME , 306.Dv OLD_TIME 307and 308.Dv NEW_TIME 309will only be written to 310.Pa /var/log/utx.log . 311.Pp 312Entries of type --- 17 unchanged lines hidden (view full) --- 330entry whose 331.Fa ut_id 332is equal has been found in the latter. 333.Pp 334In addition, entries of type 335.Dv BOOT_TIME 336and 337.Dv SHUTDOWN_TIME | 304.Dv SHUTDOWN_TIME , 305.Dv OLD_TIME 306and 307.Dv NEW_TIME 308will only be written to 309.Pa /var/log/utx.log . 310.Pp 311Entries of type --- 17 unchanged lines hidden (view full) --- 329entry whose 330.Fa ut_id 331is equal has been found in the latter. 332.Pp 333In addition, entries of type 334.Dv BOOT_TIME 335and 336.Dv SHUTDOWN_TIME |
338will cause all entries in | 337will cause all existing entries in |
339.Pa /var/run/utx.active 340to be discarded. 341.Pp 342All entries whose type has not been mentioned previously, are discarded 343by this implementation of 344.Fn pututxline . 345This implementation also ignores the value of 346.Fa ut_tv . --- 134 unchanged lines hidden --- | 338.Pa /var/run/utx.active 339to be discarded. 340.Pp 341All entries whose type has not been mentioned previously, are discarded 342by this implementation of 343.Fn pututxline . 344This implementation also ignores the value of 345.Fa ut_tv . --- 134 unchanged lines hidden --- |