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

12345678910

/freebsd-10.0-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-10.0-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-10.0-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-10.0-release/usr.bin/gzip/
H A Dzmore56 if tty -s && test -n "$oterm" -a $# -gt 0; then
/freebsd-10.0-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-10.0-release/crypto/openssl/crypto/ui/
H A Dui_openssl.c227 # define TTY_get(tty,data) tcgetattr(tty,data)
228 # define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data)
235 # define TTY_get(tty,data) ioctl(tty,TCGETA,data)
236 # define TTY_set(tty,data) ioctl(tty,TCSETA,data)
243 # define TTY_get(tty,data) ioctl(tty,TIOCGET
675 noecho_fgets(char *buf, int size, FILE *tty) argument
[all...]
/freebsd-10.0-release/contrib/ntp/kernel/
H A Dtty_clk.c14 #include "../h/tty.h"
79 register struct tty *tp;
85 * from someone opening /dev/tty
108 register struct tty *tp;
128 register struct tty *tp;
155 register struct tty *tp;
264 * Handle ioctls. We reject most tty-style except those that
268 struct tty *tp;
/freebsd-10.0-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-10.0-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-10.0-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...]
/freebsd-10.0-release/usr.bin/lock/
H A Dlock.c83 static struct termios tty, ntty; variable in typeref:struct:termios
136 if (tcgetattr(0, &tty)) /* get information for header */
151 ntty = tty; ntty.c_lflag &= ~ECHO;
168 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty);
193 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty);
276 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty);
286 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty);
/freebsd-10.0-release/sys/dev/altera/jtag_uart/
H A Daltera_jtag_uart_tty.c43 #include <sys/tty.h>
210 aju_handle_input(struct altera_jtag_uart_softc *sc, struct tty *tp)
241 aju_handle_output(struct altera_jtag_uart_softc *sc, struct tty *tp)
286 aju_outwakeup(struct tty *tp)
301 struct tty *tp = sc->ajus_ttyp;
332 struct tty *tp = sc->ajus_ttyp;
363 struct tty *tp = sc->ajus_ttyp;
380 struct tty *tp;
408 * used, but not re-enable intil later once the remainder of the tty
454 struct tty *t
[all...]
/freebsd-10.0-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-10.0-release/sys/dev/xen/console/
H A Dconsole.c11 #include <sys/tty.h>
36 static void xcoutwakeup(struct tty *);
101 static struct tty *xccons;
277 struct tty *tp = xccons;
345 xcopen(struct tty *tp)
353 xcclose(struct tty *tp)
371 xcoutwakeup(struct tty *tp)
389 struct tty *tp;
392 tp = (struct tty *)v;
/freebsd-10.0-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-10.0-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-10.0-release/usr.sbin/bhyve/
H A Duart_emul.c94 int fd; /* tty device file descriptor */
114 struct ttyfd tty; member in struct:uart_softc
239 ttyopen(&sc->tty);
240 mev = mevent_add(sc->tty.fd, EVF_READ, uart_drain, sc);
305 assert(fd == sc->tty.fd);
316 (void) ttyread(&sc->tty);
319 ((ch = ttyread(&sc->tty)) != -1)) {
356 } else if (sc->tty.opened) {
357 ttywrite(&sc->tty, value);
590 sc->tty
[all...]
/freebsd-10.0-release/sys/dev/gxemul/cons/
H A Dgxemul_cons.c41 #include <sys/tty.h>
277 struct tty *tp;
291 gxemul_cons_outwakeup(struct tty *tp)
313 struct tty *tp;
/freebsd-10.0-release/sys/modules/netgraph/
H A DMakefile52 tty \
/freebsd-10.0-release/usr.bin/login/
H A Dlogin.c99 #define TTYGRPNAME "tty" /* group to own ttys */
145 static char *tty; variable
247 tty = ttyn + sizeof _PATH_DEV - 1;
249 tty = ttyn;
300 pam_err = pam_set_item(pamh, PAM_TTY, tty);
454 login_fbtab(tty, pwd->pw_uid, pwd->pw_gid);
457 * Clear flags of the tty. None should be set, and when the
479 * TODO: Make dialup tty determination a library call
482 if (hflag && isdialuptty(tty))
483 syslog(LOG_INFO, "DIALUP %s, %s", tty, pw
[all...]
/freebsd-10.0-release/usr.bin/talk/
H A Dinit_disp.c59 char *tty; local
62 if ((tty = ttyname(STDERR_FILENO)) == NULL)
64 if (stat(tty, &sb) < 0)
65 err(1, "%s", tty);
/freebsd-10.0-release/crypto/heimdal/appl/login/
H A Dlogin.c267 char *tty, char *ttyn)
272 if (utmpx_login(tty, username, hostname) != 0 && !f_flag) {
310 * information about the user. `ttyn' is the complete name of the tty
311 * and `tty' the short name.
315 do_login(const struct passwd *pwd, char *tty, char *ttyn) argument
334 tty, ttyn);
336 gr = getgrnam ("tty");
606 /* Default tty settings. */
644 char *tty, *ttyn; local
708 tty
266 update_utmp(const char *username, const char *hostname, char *tty, char *ttyn) argument
[all...]
/freebsd-10.0-release/sys/dev/dcons/
H A Ddcons_os.c47 #include <sys/tty.h>
199 dcons_outwakeup(struct tty *tp)
213 struct tty *tp;
219 tp = dc->tty;
359 struct tty *tp;
364 dc->tty = tp;
386 struct tty *tp;
390 tp = dc->tty;

Completed in 305 milliseconds

12345678910