nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

qtmp.h2 (235B)


      1 #ifndef QTMP_H
      2 #define QTMP_H
      3 
      4 #include <utmpx.h>
      5 #define UTMP_INIT struct utmpx *ut
      6 #define UTMP_USER ut_user
      7 #define UTMP_OPEN
      8 #define UTMP_READ_MORE (ut = getutxent())
      9 #define UTMP_TYPE_MATCHES (ut->ut_type == USER_PROCESS)
     10 
     11 #endif