| /titanic_53/usr/src/lib/libbc/libc/gen/common/ |
| H A D | ttyslot.c | 58 if ((tp = ttyname(0)) == NULL && in ttyslot() 59 (tp = ttyname(1)) == NULL && in ttyslot() 60 (tp = ttyname(2)) == NULL) in ttyslot()
|
| /titanic_53/usr/src/cmd/cmd-inet/usr.bin/talk/ |
| H A D | get_names.c | 48 char *getlogin(), *ttyname(int); 105 my_tty = strrchr(ttyname(0), '/') + 1;
|
| /titanic_53/usr/src/cmd/rpcsvc/ |
| H A D | rpc.rusersd.c | 405 char ttyname[32]; in findidle() local 407 strcpy(ttyname, "/dev/"); in findidle() 408 strncat(ttyname, name, ln); in findidle() 409 if (stat(ttyname, &stbuf) < 0) in findidle()
|
| /titanic_53/usr/src/cmd/login/ |
| H A D | login_audit.c | 207 const char *hostname, const char *ttyname, char *optional_text) in audit_failure() argument 232 (void) adt_load_ttyname(ttyname, &p_tid); in audit_failure()
|
| /titanic_53/usr/src/cmd/who/ |
| H A D | who.c | 397 if ((mytty = ttyname(fileno(stdin))) == NULL && in main() 398 (mytty = ttyname(fileno(stdout))) == NULL && in main() 399 (mytty = ttyname(fileno(stderr))) == NULL) { in main() 789 ttname = ttyname(1); in process()
|
| /titanic_53/usr/src/cmd/tty/ |
| H A D | tty.c | 67 p = ttyname(0); in main()
|
| /titanic_53/usr/src/ucbcmd/biff/ |
| H A D | biff.c | 57 char *cp = ttyname(2); in main()
|
| /titanic_53/usr/src/cmd/write/ |
| H A D | write.c | 157 if ((ownterminal = ttyname(fileno(stdin))) == NULL && in main() 158 (ownterminal = ttyname(fileno(stdout))) == NULL && in main() 159 (ownterminal = ttyname(fileno(stderr))) == NULL) { in main()
|
| /titanic_53/usr/src/contrib/ast/src/lib/libcmd/ |
| H A D | tty.c | 88 if(!(tty=ttyname(0))) in b_tty()
|
| H A D | fds.c | 250 if (isatty(i) && (s = ttyname(i))) in b_fds()
|
| /titanic_53/usr/src/cmd/w/ |
| H A D | w.c | 712 char ttyname[64]; in findidle() local 714 (void) strcpy(ttyname, "/dev/"); in findidle() 715 (void) strcat(ttyname, devname); in findidle() 716 if (stat(ttyname, &stbuf) != -1) { in findidle()
|
| /titanic_53/usr/src/cmd/whodo/ |
| H A D | whodo.c | 803 char ttyname[64]; in findidle() local 805 (void) strcpy(ttyname, "/dev/"); in findidle() 806 (void) strcat(ttyname, devname); in findidle() 807 if (stat(ttyname, &stbuf) != -1) { in findidle()
|
| /titanic_53/usr/src/cmd/mesg/ |
| H A D | mesg.c | 79 if ((tty = ttyname(i)) != NULL) in main()
|
| /titanic_53/usr/src/cmd/troff/ |
| H A D | n1.c | 377 extern char *ttyname(); in init2() 380 if ((ttyp=ttyname(j=0)) != 0 || (ttyp=ttyname(j=1)) != 0 || (ttyp=ttyname(j=2)) != 0) in init2() 1225 extern char *ttyname(); in popf() 1244 if (ttyname(ifile) == 0) in popf()
|
| /titanic_53/usr/src/lib/libbc/inc/include/ |
| H A D | unistd.h | 151 extern char *ttyname(int);
|
| /titanic_53/usr/src/lib/libcurses/screen/ |
| H A D | scr_ll_dump.c | 61 if ((thistty = ttyname(cur_term->Filedes)) == NULL) in scr_ll_dump()
|
| H A D | scr_reset.c | 109 if ((type != 1) && ((ttyname(cur_term->Filedes) == NULL) || in scr_reset()
|
| /titanic_53/usr/src/lib/libxcurses2/src/libc/xcurses/ |
| H A D | scr_dump.c | 158 name = ttyname(cur_term->_ofd); in scr_init()
|
| /titanic_53/usr/src/cmd/bnu/ |
| H A D | interface.c | 192 ttyn = ttyname(fdread); in uteardown() 239 ttyn = ttyname(fdread);
|
| /titanic_53/usr/src/cmd/vi/port/ |
| H A D | ex_put.c | 1059 if ((tn=ttyname(2)) == NULL && in tostart() 1060 (tn=ttyname(1)) == NULL && in tostart() 1061 (tn=ttyname(0)) == NULL) in tostart()
|
| /titanic_53/usr/src/head/ |
| H A D | stdlib.h | 286 extern char *ttyname(int);
|
| /titanic_53/usr/src/lib/libc/port/gen/ |
| H A D | ttyname.c | 65 #pragma weak _ttyname = ttyname 770 ttyname(int f) in ttyname() function
|
| /titanic_53/usr/src/cmd/sa/ |
| H A D | timex.c | 158 sprintf(ttyid, "-l %s", ttyname(0)+5); in main()
|
| /titanic_53/usr/src/cmd/Adm/ |
| H A D | ttysrch | 24 # This file is used by ttyname(3C) to minimize search time
|
| /titanic_53/usr/src/lib/libsys/i386/ |
| H A D | libsys.list | 144 f 1 ttyname
|