Searched refs:tty (Results 51 - 75 of 217) sorted by relevance

123456789

/freebsd-9.3-release/crypto/openssh/
H A Dauth-sia.c83 session_setup_sia(struct passwd *pw, char *tty) argument
91 tty, 0, NULL) != SIASUCCESS)
H A Dsession.h39 /* tty */
43 char tty[TTYSZ]; member in struct:Session
/freebsd-9.3-release/libexec/comsat/
H A Dcomsat.c166 char tty[20]; local
177 (void)snprintf(tty, sizeof(tty), "%s%.*s",
179 if (stat(tty, &stb) == -1 || !(stb.st_mode & (S_IXUSR | S_IXGRP))) {
180 dsyslog(LOG_DEBUG, "%s: wrong mode on %s", utp->ut_user, tty);
183 dsyslog(LOG_DEBUG, "notify %s on %s", utp->ut_user, tty);
193 if ((tp = fopen(tty, "w")) == NULL) {
194 dsyslog(LOG_ERR, "%s: %s", tty, strerror(errno));
/freebsd-9.3-release/sys/dev/snp/
H A Dsnp.c42 #include <sys/tty.h>
46 static MALLOC_DEFINE(M_SNP, "snp", "tty snoop device");
52 "tty snoop registration", MTX_DEF);
58 "tty snoop registration");
107 struct tty *snp_tty; /* (r) TTY we're snooping. */
117 struct tty *tp;
153 struct tty *tp;
194 struct tty *tp;
240 struct tty *tp;
297 struct tty *t
[all...]
/freebsd-9.3-release/usr.bin/gzip/
H A Dzmore56 if tty -s && test -n "$oterm" -a $# -gt 0; then
/freebsd-9.3-release/contrib/libreadline/examples/rlfe/
H A DMakefile.in82 rm -f shadow/term.h shadow/tty.c shadow/comm.h shadow/osdef.h
92 tty.c: tty.sh
93 sh $(srcdir)/tty.sh tty.c
99 rm -f tty.c term.h comm.h osdef.h kmapdef.c core
120 rm -f tty.c term.h comm.h osdef.h kmapdef.c
/freebsd-9.3-release/crypto/openssl/crypto/ui/
H A Dui_openssl.c223 # define TTY_get(tty,data) tcgetattr(tty,data)
224 # define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data)
231 # define TTY_get(tty,data) ioctl(tty,TCGETA,data)
232 # define TTY_set(tty,data) ioctl(tty,TCSETA,data)
239 # define TTY_get(tty,data) ioctl(tty,TIOCGET
673 noecho_fgets(char *buf, int size, FILE *tty) argument
[all...]
/freebsd-9.3-release/sys/sys/
H A Dttyqueue.h36 #error "can only be included through <sys/tty.h>"
39 struct tty;
72 void ttyinq_setsize(struct ttyinq *ti, struct tty *tp, size_t len);
74 int ttyinq_read_uio(struct ttyinq *ti, struct tty *tp, struct uio *uio,
139 void ttyoutq_setsize(struct ttyoutq *to, struct tty *tp, size_t len);
142 int ttyoutq_read_uio(struct ttyoutq *to, struct tty *tp, struct uio *uio);
/freebsd-9.3-release/usr.bin/finger/
H A Dsprint.c114 if (*w->tty)
116 (strncmp(w->tty, "tty", 3)
117 && strncmp(w->tty, "cua", 3))
118 ? w->tty : w->tty + 3);
/freebsd-9.3-release/sys/kern/
H A Dtty_ttydisc.c40 #include <sys/tty.h>
85 ttydisc_open(struct tty *tp)
91 ttydisc_close(struct tty *tp)
111 ttydisc_read_canonical(struct tty *tp, struct uio *uio, int ioflag)
184 ttydisc_read_raw_no_timer(struct tty *tp, struct uio *uio, int ioflag)
223 ttydisc_read_raw_read_timer(struct tty *tp, struct uio *uio, int ioflag,
277 ttydisc_read_raw_interbyte_timer(struct tty *tp, struct uio *uio, int ioflag)
326 ttydisc_read(struct tty *tp, struct uio *uio, int ioflag)
369 ttydisc_write_oproc(struct tty *tp, char c)
455 ttydisc_write(struct tty *t
[all...]
H A Dtty_pts.c63 #include <sys/tty.h>
76 static MALLOC_DEFINE(M_PTS, "pts", "pseudo tty device");
112 struct tty *tp = fp->f_data;
186 struct tty *tp = fp->f_data;
267 struct tty *tp = fp->f_data;
392 struct tty *tp = fp->f_data;
447 struct tty *tp = fp->f_data;
457 struct tty *tp = fp->f_data;
473 struct tty *tp = fp->f_data;
483 struct tty *t
[all...]
H A Dsubr_terminal.c42 #include <sys/tty.h>
164 struct tty *tp;
178 struct tty *tp;
246 struct tty *tp;
299 struct tty *tp;
314 struct tty *tp;
336 termtty_open(struct tty *tp)
345 termtty_close(struct tty *tp)
353 termtty_outwakeup(struct tty *tp)
376 termtty_ioctl(struct tty *t
[all...]
/freebsd-9.3-release/usr.bin/lock/
H A Dlock.c82 struct termios tty, ntty; variable in typeref:struct:termios
136 if (tcgetattr(0, &tty)) /* get information for header */
153 ntty = tty; ntty.c_lflag &= ~ECHO;
170 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty);
195 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty);
278 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty);
288 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty);
/freebsd-9.3-release/sys/dev/nmdm/
H A Dnmdm.c43 #include <sys/tty.h>
75 struct tty *np_tty;
101 struct tty *tp;
184 struct tty *tp, *otp;
241 nmdm_param(struct tty *tp, struct termios *t)
244 struct tty *tp2;
299 nmdm_modem(struct tty *tp, int sigon, int sigoff)
324 nmdm_inwakeup(struct tty *tp)
333 nmdm_outwakeup(struct tty *tp)
/freebsd-9.3-release/sys/dev/xen/console/
H A Dconsole.c11 #include <sys/tty.h>
36 static void xcoutwakeup(struct tty *);
99 static struct tty *xccons;
279 struct tty *tp = xccons;
347 xcopen(struct tty *tp)
355 xcclose(struct tty *tp)
375 xcoutwakeup(struct tty *tp)
393 struct tty *tp;
396 tp = (struct tty *)v;
/freebsd-9.3-release/contrib/openpam/bin/su/
H A Dsu.c74 const char *user, *tty; local
109 tty = ttyname(STDERR_FILENO);
110 if ((pam_err = pam_set_item(pamh, PAM_TTY, tty)) != PAM_SUCCESS)
/freebsd-9.3-release/sys/powerpc/mambo/
H A Dmambo_console.c37 #include <sys/tty.h>
59 static struct tty *tp = NULL;
100 mambotty_outwakeup(struct tty *tp)
/freebsd-9.3-release/sys/modules/netgraph/
H A DMakefile52 tty \
/freebsd-9.3-release/usr.bin/login/
H A Dlogin.c101 #define TTYGRPNAME "tty" /* group to own ttys */
147 static char *tty; variable
255 tty = ttyn + sizeof _PATH_DEV - 1;
257 tty = ttyn;
308 pam_err = pam_set_item(pamh, PAM_TTY, tty);
469 login_fbtab(tty, pwd->pw_uid, pwd->pw_gid);
472 * Clear flags of the tty. None should be set, and when the
494 * TODO: Make dialup tty determination a library call
497 if (hflag && isdialuptty(tty))
498 syslog(LOG_INFO, "DIALUP %s, %s", tty, pw
[all...]
H A Dlogin_fbtab.c18 void login_fbtab(tty, uid, gid)
19 char *tty;
41 If the tty argument (relative path) matches a login device
84 login_fbtab(char *tty, uid_t uid, gid_t gid) argument
112 if (strcmp(devname + 5, tty) == 0) {
/freebsd-9.3-release/usr.bin/talk/
H A Dinit_disp.c61 char *tty; local
64 if ((tty = ttyname(STDERR_FILENO)) == NULL)
66 if (stat(tty, &sb) < 0)
67 err(1, "%s", tty);
/freebsd-9.3-release/contrib/nvi/cl/
H A Dcl_term.c278 * Turn the tty write permission on or off.
289 char *tty; local
291 /* Find the tty, get the current permissions. */
292 if ((tty = ttyname(STDERR_FILENO)) == NULL) {
297 if (stat(tty, &sb) < 0) {
299 msgq(sp, M_SYSERR, "%s", tty);
309 if (chmod(tty, sb.st_mode | S_IWGRP) < 0) {
312 "046|messages not turned on: %s", tty);
316 if (chmod(tty, sb.st_mode & ~S_IWGRP) < 0) {
319 "045|messages not turned off: %s", tty);
[all...]
/freebsd-9.3-release/sys/dev/dcons/
H A Ddcons_os.c47 #include <sys/tty.h>
194 dcons_outwakeup(struct tty *tp)
208 struct tty *tp;
214 tp = dc->tty;
351 struct tty *tp;
356 dc->tty = tp;
380 struct tty *tp;
384 tp = dc->tty;
/freebsd-9.3-release/release/picobsd/mfs_tree/etc/
H A Drc.serial23 comcontrol /dev/tty$ci$i dtrwait 300 drainwait 0
60 comcontrol /dev/tty$ci$i dtrwait 100 drainwait 180
101 comcontrol /dev/tty$ci$i dtrwait 0
/freebsd-9.3-release/usr.sbin/fdwrite/
H A Dfdwrite.c73 FILE *tty; local
111 tty = fopen(_PATH_TTY,"r+");
112 if(!tty)
114 setbuf(tty,0);
119 fprintf(tty,
123 i = getc(tty);

Completed in 304 milliseconds

123456789