HomeSort by: relevance | last modified time | path
    Searched defs:ws (Results 1 - 25 of 42) sorted by relevancy

1 2

  /src/libexec/telnetd/
termstat.c 512 struct winsize ws; local
529 ws.ws_col = parm1;
530 ws.ws_row = parm2;
531 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws);
594 struct winsize ws; local
596 memset((char *)&ws, 0, sizeof(ws));
597 ws.ws_col = def_col;
598 ws.ws_row = def_row;
599 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws);
    [all...]
sys_term.c 437 struct winsize ws; local
472 memset((char *)&ws, 0, sizeof(ws));
473 ws.ws_col = def_col;
474 ws.ws_row = def_row;
475 (void)ioctl(t, TIOCSWINSZ, (char *)&ws);
  /src/sys/dev/rcons/
rcons_kern.c 184 struct winsize *ws; local
190 ws = &tp->t_winsize;
191 ws->ws_row = rc->rc_maxrow;
192 ws->ws_col = rc->rc_maxcol;
193 ws->ws_xpixel = rc->rc_width;
194 ws->ws_ypixel = rc->rc_height;
  /src/lib/libcurses/
ins_wch.c 92 wchar_t ws[] = L" "; local
128 if (wins_nwstr(win, ws, min(win->maxx - x,
get_wch.c 442 wchar_t inp, ws[2]; local
471 ws[0] = *ch, ws[1] = L'\0';
472 setcchar(&wc, ws, win->wattr, 0, NULL);
563 ws[ 0 ] = inp, ws[ 1 ] = L'\0';
564 setcchar( &wc, ws, win->wattr, 0, NULL );
ins_wstr.c 139 wchar_t ws[] = L" "; local
200 cw = wcwidth(ws[0]);
262 cw = wcwidth(ws[0]);
270 *lstr = *ws;
  /src/lib/libc/gen/
fstab.c 92 static const char ws[] = " \t\n"; local
128 _fs_fstab.fs_spec = nextfld(&lp, ws);
131 _fs_fstab.fs_file = nextfld(&lp, ws);
132 _fs_fstab.fs_vfstype = nextfld(&lp, ws);
133 _fs_fstab.fs_mntops = nextfld(&lp, ws);
138 if ((cp = nextfld(&lp, ws)) != NULL) {
140 if ((cp = nextfld(&lp, ws)) != NULL)
  /src/usr.bin/tabs/
tabs.c 90 struct winsize ws; local
217 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == 0)
218 cols = ws.ws_col;
  /src/usr.sbin/iteconfig/
iteconfig.c 83 struct winsize ws; local
179 xioctl(fd, TIOCGWINSZ, &ws);
182 printf("tty size: rows %d cols %d\n", ws.ws_row, ws.ws_col);
187 printcmap(cm, ws.ws_col);
  /src/sys/compat/ultrix/
ultrix_ioctl.c 521 struct winsize ws; local
524 error = ultrix_do_ioctl(SCARG(&ap, fd), TIOCGWINSZ, &ws, l);
531 ws.ws_row = ss.ts_row;
532 ws.ws_col = ss.ts_col;
534 return ultrix_do_ioctl(SCARG(&ap, fd), TIOCSWINSZ, &ws, l);
538 struct winsize ws; local
541 error = ultrix_do_ioctl(SCARG(&ap, fd), TIOCGWINSZ, &ws, l);
546 ss.ts_row = ws.ws_row;
547 ss.ts_col = ws.ws_col;
  /src/usr.bin/mail/
main.c 106 struct winsize ws; local
110 if (ioctl(1, TIOCGWINSZ, &ws) < 0)
111 ws.ws_col = ws.ws_row = 0;
120 else if (ws.ws_row != 0)
121 screenheight = ws.ws_row;
124 if ((realscreenheight = ws.ws_row) == 0)
126 if ((screenwidth = ws.ws_col) == 0)
  /src/usr.bin/progress/
progress.c 85 int ws, gzipstat, cmdstat; local
257 deadpid = wait(&ws);
264 ws = WIFSIGNALED(ws) ? WTERMSIG(ws) : WEXITSTATUS(ws);
270 cmdstat = ws;
275 gzipstat = ws;
  /src/usr.bin/telnet/
sys_bsd.c 442 struct winsize ws; local
444 if (ioctl(fileno(stdin), TIOCGWINSZ, (char *)&ws) >= 0) {
445 *rows = ws.ws_row;
446 *cols = ws.ws_col;
  /src/games/tetris/
screen.c 165 struct winsize ws; local
186 if (ioctl(0, TIOCGWINSZ, &ws) == 0) {
187 Rows = ws.ws_row;
188 Cols = ws.ws_col;
  /src/sys/arch/atari/dev/
ite_et.c 403 struct winsize ws; local
418 ws.ws_row = ip->rows;
419 ws.ws_col = ip->cols;
420 ws.ws_xpixel = view->display.width;
421 ws.ws_ypixel = view->display.height;
428 (void *)&ws, 0, l);
ite_cc.c 463 struct winsize ws; local
478 ws.ws_row = ip->rows;
479 ws.ws_col = ip->cols;
480 ws.ws_xpixel = view->display.width;
481 ws.ws_ypixel = view->display.height;
488 (void *)&ws, 0, l);
  /src/tests/usr.bin/xlint/lint1/
init.c 144 const int *ws; member in struct:cs_ws
171 const int ws[10]; member in struct:cs_ws
  /src/usr.bin/infocmp/
infocmp.c 650 struct winsize ws; local
657 else if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == 0)
658 cols = ws.ws_col;
  /src/usr.sbin/crash/
crash.c 349 struct winsize ws; local
492 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1) {
493 db_max_width = ws.ws_col;
  /src/usr.sbin/quotarestore/
quotarestore.c 45 static const char ws[] = " \t\r\n"; variable
297 return ch != '\0' && strchr(ws, ch) != NULL;
418 for (s = strtok_r(buf, ws, &x);
420 s = strtok_r(NULL, ws, &x)) {
  /src/usr.sbin/wsmoused/
selection.c 400 struct winsize ws; local
411 if (ioctl(Selmouse.sm_ttyfd, TIOCGWINSZ, &ws) < 0) {
418 Selmouse.sm_max_y = ws.ws_row - 1;
419 Selmouse.sm_max_x = ws.ws_col - 1;
  /src/sys/kern/
core_elf32.c 122 struct writesegs_state ws; local
228 ws.secoff = notestart + notesize;
229 ws.psections = psections;
230 ws.npsections = npsections - 1;
231 ws.p = l->l_proc;
233 (l->l_proc, ELFNAMEEND(coredump_getseghdrs), &ws),
237 if (ws.npsections != 0) {
244 ws.psections->p_type = PT_NOTE;
245 ws.psections->p_offset = notestart;
246 ws.psections->p_vaddr = 0
310 struct writesegs_state *ws = us->cookie; local
    [all...]
  /src/sbin/routed/
output.c 72 } ws; variable in typeref:struct:__anon809
333 naddr_ntoa(ws.to.sin_addr.s_addr));
338 if (ws.a != 0 && ws.a->type == RIP_AUTH_MD5)
339 end_md5_auth(wb,ws.a);
340 if (output(wb->type, &ws.to, ws.ifp, wb->buf,
342 && ws.ifp != 0)
343 if_sick(ws.ifp);
344 ws.npackets++
    [all...]
  /src/sys/compat/sunos/
sunos_ioctl.c 474 struct winsize ws; local
477 if ((error = (*ctl)(fp, TIOCGWINSZ, &ws)) != 0)
483 ws.ws_row = ss.ts_row;
484 ws.ws_col = ss.ts_col;
486 error = (*ctl)(fp, TIOCSWINSZ, &ws);
491 struct winsize ws; local
494 if ((error = (*ctl)(fp, TIOCGWINSZ, &ws)) != 0)
498 ss.ts_row = ws.ws_row;
499 ss.ts_col = ws.ws_col;
  /src/sys/compat/sunos32/
sunos32_ioctl.c 518 struct winsize ws; local
521 error = sunos32_do_ioctl(SCARG(&bsd_ua, fd), TIOCGWINSZ, &ws,
530 ws.ws_row = ss.ts_row;
531 ws.ws_col = ss.ts_col;
533 return sunos32_do_ioctl(SCARG(&bsd_ua, fd), TIOCSWINSZ, &ws, l);
537 struct winsize ws; local
540 error = sunos32_do_ioctl(SCARG(&bsd_ua, fd), TIOCGWINSZ, &ws,
546 ss.ts_row = ws.ws_row;
547 ss.ts_col = ws.ws_col;

Completed in 39 milliseconds

1 2