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

/osnet-11/usr/src/lib/libcmd/common/
H A Dtty.c84 if(!(tty=ttyname(0)))
H A Dwho.c231 if((state.flags&FLAG_M) && ((line=ttyname(0)) || (line=ttyname(2))))
H A Dfds.c250 if (isatty(i) && (s = ttyname(i)))
/osnet-11/usr/src/lib/libcurses/screen/
H A Dscr_ll_dump.c61 if ((thistty = ttyname(cur_term->Filedes)) == NULL)
H A Dscr_reset.c109 if ((type != 1) && ((ttyname(cur_term->Filedes) == NULL) ||
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dscr_dump.c158 name = ttyname(cur_term->_ofd);
/osnet-11/usr/src/lib/libnsl/dial/
H A Dinterface.c137 ttyn = ttyname(fdread);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/
H A DPOSIX.xs105 /* The POSIX notion of ttyname() is better served by getname() under VMS */
107 # define ttyname(fd) (isatty(fd) > 0 ? getname(fd,ttnambuf,0) : NULL)
143 # define ttyname(a) (char*)not_here("ttyname")
189 # define ttyname(a) (char*)not_here("ttyname")
1866 ttyname(fd)
H A DPOSIX.pm887 setsid setuid sysconf tcgetpgrp tcsetpgrp ttyname)],
/osnet-11/usr/src/lib/libc/port/gen/
H A Dttyname.c30 * ttyname(f): return "/dev/X" (where X is a relative pathname
45 * ttyname first looks for the tty file in the directories specified
51 * exist, ttyname looks in a default list of directories. If after
52 * looking in the most likely places, ttyname still cannot find the
56 * In addition to the public interfaces, ttyname() & ttyname_r(), which
64 #pragma weak _ttyname = ttyname
786 ttyname(int f) function
/osnet-11/usr/src/lib/libbsm/common/
H A Dadt.c861 * of determining the device id. The ttyname input is ignored if
877 adt_load_ttyname(const char *ttyname, adt_termid_t **termid) argument
904 if (ttyname != NULL && *ttyname != '\0') {
905 if (stat(ttyname, &stat_buf) < 0) {
H A Dgeneric.c142 ttyn = ttyname(0);
/osnet-11/usr/src/cmd/sendmail/src/
H A Denvelope.c753 extern char *ttyname();
799 p = ttyname(2);
H A Dconf.c1178 extern char *ttyname();
1182 if ((pathn = ttyname(2)) == NULL && (pathn = ttyname(1)) == NULL &&
1183 (pathn = ttyname(0)) == NULL)
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dhistory.c397 hp->tty = strdup(ttyname(2));
H A Dedit.c887 if((ep->e_tty=ttyname(fd)) && stat(ep->e_tty,&statb)>=0)
/osnet-11/usr/src/lib/libast/common/misc/
H A Dprocopen.c199 if (!(s = ttyname(arg1)))
/osnet-11/usr/src/lib/libc/i386/
H A DMakefile.com578 ttyname.o \
/osnet-11/usr/src/lib/libc/sparc/
H A DMakefile.com611 ttyname.o \
/osnet-11/usr/src/lib/libc/sparcv9/
H A DMakefile.com574 ttyname.o \
/osnet-11/usr/src/lib/libc/amd64/
H A DMakefile552 ttyname.o \
/osnet-11/usr/src/lib/libshell/common/sh/
H A Djobs.c625 if(job.mypgid<0 || !(ttynam=ttyname(JOBTTY)))
/osnet-11/usr/src/lib/libc/port/
H A Dllib-lc1084 /* ttyname.c */
1085 char *ttyname(int f);

Completed in 120 milliseconds