-/*
+/*
Unix SMB/CIFS implementation.
utmp routines
Copyright (C) T.D.Lee@durham.ac.uk 1999
Heavily modified by Andrew Bartlett and Tridge, April 2001
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
FreeBSD:
No "putut*()" type of interface.
- No "ut_type" and associated defines.
+ No "ut_type" and associated defines.
Write files directly. Alternatively use its login(3)/logout(3).
SunOS 4:
Not tested. Resembles FreeBSD, but no login()/logout().
if (! claim) {
/*
- * BSD-like systems:
+ * BSD-like systems:
* may use empty ut_name to distinguish a logout record.
*
* May need "if defined(SUNOS4)" etc. around some of these,