usr/src/lib/libc/port/gen/getutx.c
changeset 6812 febeba71273d
parent 5891 0d5c6468bb04
child 6879 150dcecba680
equal deleted inserted replaced
6811:2ed8737b86b7 6812:febeba71273d
    43  * Routines to read and write the /etc/utmpx file. Also contains
    43  * Routines to read and write the /etc/utmpx file. Also contains
    44  * binary compatibility routines to support the old utmp interfaces
    44  * binary compatibility routines to support the old utmp interfaces
    45  * on systems with MAXPID <= SHRT_MAX.
    45  * on systems with MAXPID <= SHRT_MAX.
    46  */
    46  */
    47 
    47 
    48 #pragma weak getutxent = _getutxent
    48 #include "lint.h"
    49 #pragma weak getutent = _getutent
       
    50 #pragma weak getutxid = _getutxid
       
    51 #pragma weak getutid = _getutid
       
    52 #pragma weak getutxline = _getutxline
       
    53 #pragma weak getutline = _getutline
       
    54 #pragma weak getutmpx = _getutmpx
       
    55 #pragma weak getutmp = _getutmp
       
    56 #pragma weak makeutx = _makeutx
       
    57 #pragma weak makeut = _makeut
       
    58 #pragma weak modutx = _modutx
       
    59 #pragma weak modut = _modut
       
    60 #pragma weak pututxline = _pututxline
       
    61 #pragma weak pututline = _pututline
       
    62 #pragma weak setutxent = _setutxent
       
    63 #pragma weak setutent = _setutent
       
    64 #pragma weak endutxent = _endutxent
       
    65 #pragma weak endutent = _endutent
       
    66 #pragma weak utmpxname = _utmpxname
       
    67 #pragma weak utmpname = _utmpname
       
    68 #pragma weak updwtmpx = _updwtmpx
       
    69 #pragma weak updwtmp = _updwtmp
       
    70 
       
    71 #include "synonyms.h"
       
    72 #include <sys/types.h>
    49 #include <sys/types.h>
    73 #include <stdio.h>
    50 #include <stdio.h>
    74 #include <sys/param.h>
    51 #include <sys/param.h>
    75 #include <sys/stat.h>
    52 #include <sys/stat.h>
    76 #include <utmpx.h>
    53 #include <utmpx.h>