MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Headers                                            utmpx.h(3HEAD)



NAME
     utmpx.h, utmpx - user accounting database definitions

SYNOPSIS
     #include 


DESCRIPTION
     The  header  defines  the  utmpx  structure,  which
     includes the following members:

       char                  utuser[];  /* user login name */
       char                  utid[];    /* unspecified initialization */
                                         /* process identifier */
       char                  utline[];  /* device name */
       pidt                 utpid;     /* process ID */
       short                 uttype;    /* type of entry */



     for X/Open compilation environments:

       struct utexitstatus utexit; /* process termination/exit status*/



     for all other compilation environments:

       struct exitstatus    utexit;    /* process termination/exit status*/


       struct timeval        uttv;      /* time entry was made */
       int                   utsession; /* session ID, used for windowing */
       short                 utsyslen;  /* significant length of uthost */
                                         /* including terminating null */
       char                  uthost[];  /* remote host name */



     The pidt type is defined through typedef  as  described  in
     .


     The  timeval  structure   is   defined   as   described   in
     .


     Inclusion of the  header can also make visible  all
     symbols from .






SunOS 5.11          Last change: 16 Apr 2007                    1






Headers                                            utmpx.h(3HEAD)



     The following symbolic constants  are  defined  as  possible
     values for the uttype member of the utmpx structure:

     EMPTY            No valid user accounting information.


     BOTIME        Identifies time of system boot.


     OLDTIME         Identifies time when system clock changed.


     NEWTIME         Identifies time after system clock changed.


     USERPROCES     Identifies a process.


     INITPROCES     Identifies a process spawned  by  the  init
                      process.


     LOGINPROCES    Identifies the session leader of a  logged-
                      in user.


     DEADPROCES     Identifies a session leader who has exited.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Standard                    
    


SEE ALSO
     endutxent(3C), time.h(3HEAD), types.h(3HEAD), attributes(5),
     standards(5)










SunOS 5.11          Last change: 16 Apr 2007                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™