Searched refs:utmpxfile (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetutx.c126 static char utmpxfile[MAXFILE+1] = UTMPX_FILE; /* Name of the current */ variable
194 if ((fd = open(utmpxfile, O_RDWR|O_CREAT, 0644)) < 0) {
202 if ((fd = open(utmpxfile, O_RDONLY)) < 0)
205 if ((fp = fopen(utmpxfile, "rF")) == NULL) {
215 if ((fp = fopen(utmpxfile, "r+F")) == NULL) {
810 (void) strcpy(&utmpxfile[0], newfile);
821 if (strcmp(utmpxfile, UTMPX_FILE) == 0 ||
822 strcmp(utmpxfile, VAR_UTMPX_FILE) == 0)

Completed in 45 milliseconds