Searched defs:ttyname (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/login/ |
H A D | login_audit.c | 207 const char *hostname, const char *ttyname, char *optional_text) 228 * ignore hostname. (If no remote host and ttyname is NULL, 232 (void) adt_load_ttyname(ttyname, &p_tid); 206 audit_failure(uint_t event_id, int failure_code, struct passwd *pwd, const char *hostname, const char *ttyname, char *optional_text) argument
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rpc.rusersd.c | 405 char ttyname[32]; local 407 strcpy(ttyname, "/dev/"); 408 strncat(ttyname, name, ln); 409 if (stat(ttyname, &stbuf) < 0)
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ttyname.c | 31 * ttyname(f): return "/dev/X" (where X is a relative pathname 46 * ttyname first looks for the tty file in the directories specified 52 * exist, ttyname looks in a default list of directories. If after 53 * looking in the most likely places, ttyname still cannot find the 57 * In addition to the public interfaces, ttyname() & ttyname_r(), which 65 #pragma weak _ttyname = ttyname 770 ttyname(int f) function
|
/illumos-gate/usr/src/cmd/w/ |
H A D | w.c | 712 char ttyname[64]; local 714 (void) strcpy(ttyname, "/dev/"); 715 (void) strcat(ttyname, devname); 716 if (stat(ttyname, &stbuf) != -1) {
|
/illumos-gate/usr/src/cmd/whodo/ |
H A D | whodo.c | 803 char ttyname[64]; local 805 (void) strcpy(ttyname, "/dev/"); 806 (void) strcat(ttyname, devname); 807 if (stat(ttyname, &stbuf) != -1) {
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | adt.c | 867 * of determining the device id. The ttyname input is ignored if 883 adt_load_ttyname(const char *ttyname, adt_termid_t **termid) argument 910 if (ttyname != NULL && *ttyname != '\0') { 911 if (stat(ttyname, &stat_buf) < 0) {
|
Completed in 70 milliseconds