/freebsd-10.0-release/usr.bin/login/ |
H A D | login_fbtab.c | 18 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-10.0-release/contrib/ntp/kernel/ |
H A D | tty_chu.c | 14 #include "../h/tty.h" 51 * in the tty structure. 56 register struct tty *tp; 62 * from someone opening /dev/tty 85 register struct tty *tp; 102 register struct tty *tp; 136 register struct tty *tp; 223 * Handle ioctls. We reject all tty-style except those that 227 struct tty *tp; 250 register struct tty *t [all...] |
/freebsd-10.0-release/release/picobsd/mfs_tree/etc/ |
H A D | rc.serial | 23 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-10.0-release/usr.sbin/fdwrite/ |
H A D | fdwrite.c | 73 FILE *tty; local 111 tty = fopen(_PATH_TTY,"r+"); 112 if(!tty) 114 setbuf(tty,0); 119 fprintf(tty, 123 i = getc(tty);
|
/freebsd-10.0-release/sys/netgraph/bluetooth/drivers/h4/ |
H A D | ng_h4.c | 53 #include <sys/tty.h> 87 static int ng_h4_open (struct cdev *, struct tty *); 88 static int ng_h4_close (struct tty *, int); 89 static int ng_h4_read (struct tty *, struct uio *, int); 90 static int ng_h4_write (struct tty *, struct uio *, int); 91 static int ng_h4_input (int, struct tty *); 92 static int ng_h4_start (struct tty *); 93 static int ng_h4_ioctl (struct tty *, u_long, caddr_t, 147 * Set our line discipline on the tty. 151 ng_h4_open(struct cdev *dev, struct tty *t [all...] |
H A D | ng_h4_var.h | 69 struct tty *tp; /* Terminal device */
|
/freebsd-10.0-release/release/picobsd/tinyware/login/ |
H A D | pico-login.c | 124 #define TTYGRPNAME "tty" /* name of group to own ttys */ 141 char *term, *envinit[1], *hostname, *tty, *username; variable 272 if ((tty = strrchr(ttyn, '/')) != NULL) 273 ++tty; 275 tty = ttyn; 298 rootok = rootterm(tty); /* Default (auth may change) */ 490 if (!auth_ttyok(lc, tty)) 507 if (login_access(pwd->pw_name, hostname ? full_hostname : tty) == 0) 512 ulog_login(tty, username, hostname); 520 (void)strncpy(utmp.ut_line, tty, sizeo [all...] |
/freebsd-10.0-release/sys/netgraph/ |
H A D | ng_tty.c | 49 * NGM_TTY_SET_TTY, this will hook the tty via ttyhook_register(). 74 #include <sys/tty.h> 87 struct tty *tp; /* Terminal device */ 138 NETGRAPH_INIT(tty, &typestruct); 151 * the line discipline on a tty, so always return an error if not. 194 * tty locks. 228 struct tty *tp; 314 struct tty *tp = sc->tp; 350 ngt_getc_inject(struct tty *tp, void *buf, size_t len) 394 ngt_getc_poll(struct tty *t [all...] |
/freebsd-10.0-release/contrib/libreadline/ |
H A D | terminal.c | 225 _rl_get_screen_size (tty, ignore_env) 226 int tty, ignore_env; 236 if (ioctl (tty, TIOCGWINSZ, &window_size) == 0) 427 int tty, tgetent_ret; local 431 tty = rl_instream ? fileno (rl_instream) : 0; 472 _rl_get_screen_size (tty, 0); 522 _rl_get_screen_size (tty, 0);
|
/freebsd-10.0-release/lib/libkvm/ |
H A D | kvm_proc.c | 66 #include <sys/tty.h> 121 struct tty tty; local 293 if (KREAD(kd, (u_long)sess.s_ttyp, &tty)) { 295 "can't read tty at %p", sess.s_ttyp); 298 if (tty.t_dev != NULL) { 299 if (KREAD(kd, (u_long)tty.t_dev, &t_cdev)) { 302 tty.t_dev); 311 if (tty.t_pgrp != NULL) { 312 if (KREAD(kd, (u_long)tty [all...] |
/freebsd-10.0-release/sys/kern/ |
H A D | tty_compat.c | 44 #include <sys/tty.h> 53 static int ttcompatgetflags(struct tty *tp); 54 static void ttcompatsetflags(struct tty *tp, struct termios *t); 55 static void ttcompatsetlflags(struct tty *tp, struct termios *t); 100 ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term) 183 tty_ioctl_compat(struct tty *tp, u_long com, caddr_t data, int fflag, 274 ttcompatgetflags(struct tty *tp) 334 ttcompatsetflags(struct tty *tp, struct termios *t) 411 ttcompatsetlflags(struct tty *tp, struct termios *t)
|
H A D | subr_prf.c | 56 #include <sys/tty.h> 82 struct tty *tty; member in struct:putchar_arg 158 pca.tty = p->p_session->s_ttyp; 161 if (pca.tty == NULL) { 168 tty_lock(pca.tty); 171 tty_unlock(pca.tty); 193 struct tty *tp = NULL; 216 pca.tty = tp; 219 if (pca.tty ! [all...] |
/freebsd-10.0-release/contrib/openpam/bin/pamtest/ |
H A D | pamtest.c | 274 "[-dkMPsv] [-H rhost] [-h host] [-t tty] [-U ruser] [-u user]"); 322 const char *tty = NULL; local 363 opt_str_once(opt, &tty, optarg); 396 if (tty == NULL) 397 tty = ttyname(STDERR_FILENO); 416 * The remote host / user / tty are usually set by the 421 (pame = pt_set_item(PAM_TTY, tty)) != PAM_SUCCESS)
|
/freebsd-10.0-release/sys/dev/syscons/ |
H A D | sysmouse.c | 37 #include <sys/tty.h> 48 static struct tty *sysmouse_tty; 53 smdev_close(struct tty *tp) 59 smdev_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) 145 smdev_param(struct tty *tp, struct termios *t)
|
H A D | scvesactl.c | 41 #include <sys/tty.h> 54 vesa_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td)
|
H A D | syscons.h | 189 struct tty; 223 struct tty **dev; 383 typedef int sc_term_ioctl_t(scr_stat *scp, struct tty *tp, u_long cmd, 393 typedef int sc_term_input_t(scr_stat *scp, int c, struct tty *tp); 553 extern int (*sc_user_ioctl)(struct tty *tp, u_long cmd, caddr_t data, 596 int sc_hist_ioctl(struct tty *tp, u_long cmd, caddr_t data, 621 int sc_mouse_ioctl(struct tty *tp, u_long cmd, caddr_t data, 626 int sc_set_text_mode(scr_stat *scp, struct tty *tp, int mode, 629 int sc_set_graphics_mode(scr_stat *scp, struct tty *tp, int mode); 630 int sc_set_pixel_mode(scr_stat *scp, struct tty *t [all...] |
/freebsd-10.0-release/usr.bin/wall/ |
H A D | wall.c | 199 const char *tty; local 209 tty = ttyname(STDERR_FILENO); 210 if (tty == NULL) 211 tty = "no tty"; 232 L" (%s) at %d:%02d %s...", tty,
|
/freebsd-10.0-release/sys/dev/rp/ |
H A D | rp.c | 49 #include <sys/tty.h> 577 static void rpclose(struct tty *tp); 578 static void rphardclose(struct tty *tp); 579 static int rpmodem(struct tty *, int, int); 580 static int rpparam(struct tty *, struct termios *); 581 static void rpstart(struct tty *); 582 static int rpioctl(struct tty *, u_long, caddr_t, struct thread *); 583 static int rpopen(struct tty *); 585 static void rp_do_receive(struct rp_port *rp, struct tty *tp, 651 struct tty *t [all...] |
/freebsd-10.0-release/contrib/nvi/cl/ |
H A D | cl_term.c | 302 * Turn the tty write permission on or off. 310 char *tty; local 312 /* Find the tty, get the current permissions. */ 313 if ((tty = ttyname(STDERR_FILENO)) == NULL) { 318 if (stat(tty, &sb) < 0) { 320 msgq(sp, M_SYSERR, "%s", tty); 330 if (chmod(tty, sb.st_mode | S_IWGRP) < 0) { 333 "046|messages not turned on: %s", tty); 337 if (chmod(tty, sb.st_mode & ~S_IWGRP) < 0) { 340 "045|messages not turned off: %s", tty); [all...] |
/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | get_window_size.c | 50 #include <sys/tty.h>
|
/freebsd-10.0-release/crypto/openssh/openbsd-compat/ |
H A D | port-linux.c | 139 ssh_selinux_setup_pty(char *pwname, const char *tty) argument 148 debug3("%s: setting TTY context on %s", __func__, tty); 154 if (getfilecon(tty, &old_tty_ctx) == -1) { 166 if (setfilecon(tty, new_tty_ctx) != 0)
|
/freebsd-10.0-release/libexec/talkd/ |
H A D | process.c | 187 find_user(const char *name, char *tty) argument 201 if (*tty == '\0' || best != 0) { 204 /* no particular tty was requested */ 212 (void) strcpy(tty, ut->ut_line); 218 if (strcmp(ut->ut_line, tty) == 0) {
|
/freebsd-10.0-release/sys/dev/dcons/ |
H A D | dcons.h | 101 void *tty; member in struct:dcons_softc
|
/freebsd-10.0-release/sys/dev/quicc/ |
H A D | quicc_bfe_fdt.c | 41 #include <sys/tty.h>
|
/freebsd-10.0-release/sys/dev/sio/ |
H A D | sio_pccard.c | 37 #include <sys/tty.h>
|