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

/xsrc/external/mit/xterm/dist/
H A Dmain.c5569 int wfd; local in function:Exit
5579 if ((wfd = open(etc_utmp, O_WRONLY)) >= 0) {
5581 lseek(wfd, (long) (tslot * sizeof(utmp)), 0);
5582 IGNORE_RC(write(wfd, (char *) &utmp, sizeof(utmp)));
5583 close(wfd);
5587 (wfd = open(etc_wtmp, O_WRONLY | O_APPEND)) >= 0) {
5592 IGNORE_RC(write(wfd, (char *) &utmp, sizeof(utmp)));
5593 close(wfd);

Completed in 7 milliseconds