]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Reformat and correct typos.
authorUlrich Drepper <drepper@redhat.com>
Sat, 16 Aug 1997 19:43:54 +0000 (19:43 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 16 Aug 1997 19:43:54 +0000 (19:43 +0000)
login/utmp.h

index fa35cd4f4f438e5460e1f3db6297be57eb13319c..0928234e0c16df6a528ecbf3e9856d76a730d90b 100644 (file)
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#ifndef        _UTMP_H
+#define        _UTMP_H 1
 
-#ifndef        _UTMP_H_
-
-#define        _UTMP_H_        1
 #include <features.h>
 
 #include <sys/types.h>
 
+
 __BEGIN_DECLS
 
 /* Get system dependent values and data structures.  */
@@ -48,21 +48,22 @@ extern void login __P ((__const struct utmp *__entry));
 /* Write the utmp entry to say the user on UT_LINE has logged out.  */
 extern int logout __P ((__const char *__ut_line));
 
-/* Append the given entry to a wtmp file.  */
-extern void updwtmp __P ((__const char *__wtmp_file,
-                         __const struct utmp *__entry));
-
 /* Append to wtmp an entry for the current time and the given info.  */
 extern void logwtmp __P ((__const char *__ut_line, __const char *__ut_name,
                          __const char *__ut_host));
 
+/* Append entry UTMP to the wtmp-like file WTMP_FILE.  */
+extern void updwtmp __P ((__const char *__wtmp_file,
+                         __const struct utmp *__utmp));
+
 /* Change name of the utmp file to be examined.  */
+extern int __utmpname __P ((__const char *__file));
 extern int utmpname __P ((__const char *__file));
 
 /* Read next entry from a utmp-like file.  */
 extern struct utmp *getutent __P ((void));
 
-/* Rest the input stream to the beginning of the file.  */
+/* Reset the input stream to the beginning of the file.  */
 extern void __setutent __P ((void));
 extern void setutent __P ((void));