Searched defs:utmpx (Results 1 - 3 of 3) sorted by relevance
/osnet-11/usr/src/lib/libmail/common/ |
H A D | notifyu.c | 36 #include <utmpx.h> 58 struct utmpx utmpx, *putmpx = &utmpx; local 64 if (strncmp(user, utmpx.ut_name, 65 sizeof (utmpx.ut_name)) == 0) { 66 char tty[sizeof (utmpx.ut_line)+1]; 72 for (i = 0; i < sizeof (utmpx.ut_line); i++) 73 tty[i] = utmpx.ut_line[i]; 90 (void) fprintf(stderr, "%s in utmpx i [all...] |
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | who.c | 79 # include <utmpx.h> 104 # define UTMP "/etc/utmpx" 112 # define utmpx utmp macro 167 static void outline(Sfio_t *out,register struct utmpx *up,register State_t* sp) 213 struct utmpx ut; 243 while(sfread(in,&ut,sizeof(struct utmpx))>0)
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getutx.c | 51 #include <utmpx.h> 66 #define MAXFILE 79 /* Maximum pathname length for "utmpx" file */ 73 #define ETC_UTMPX_FILE "/etc/utmpx" 91 static void utmpx_frec2api(const struct futmpx *, struct utmpx *); 92 static void utmpx_api2frec(const struct utmpx *, struct futmpx *); 101 static struct utmpx *invoke_utmp_update(const struct utmpx *); 103 static void putoneutx(const struct utmpx *, off_t); 118 static int fd = -1; /* File descriptor for the utmpx file. */ 123 static FILE *fp = NULL; /* Buffered file descriptior for utmpx fil 273 struct utmpx *utmpx; local 388 struct utmpx utmpx; local 451 struct utmpx utmpx; local 703 struct utmpx utmpx; local 893 struct utmpx utmpx; local 961 struct utmpx utmpx; local 1245 struct utmpx utmpx; local [all...] |
Completed in 17 milliseconds