Searched defs:win (Results 1 - 5 of 5) sorted by relevance
/ast/src/lib/libcmd/ |
H A D | stty.c | 575 struct winsize win; local 576 off = ioctl(0,TIOCGWINSZ,&win); 578 sfprintf(sfstdout,"%sspeed %s baud; rows %d; columns %d;\n",schar,tp->name,win.ws_row,win.ws_col); 697 struct winsize win; local 699 if(ioctl(0,TIOCGWINSZ,&win)<0) 703 sfprintf(sfstdout,"%d\n",tp->mask?win.ws_col:win.ws_row); 711 win.ws_col = n; 713 win [all...] |
/ast/src/lib/libpz/ |
H A D | pzsplit.c | 357 m = pz->win - 8; 501 char* win = 0; local 512 if (!(win = newof(0, char, pz->win, 0))) 518 * w <= pz->win guaranteed 521 while ((w = sfgetu(pz->io)) && w <= pz->win) 551 s = win; 571 if (m >= pz->win || ip->row && m % ip->row) 681 if (win) 682 free(win); [all...] |
H A D | pzip.h | 171 size_t col; /* # chars per col per win */ 218 size_t win; /* window size */ member in struct:Pz_s
|
/ast/src/cmd/builtin/ |
H A D | pty.c | 213 struct winsize win; local 233 if (ioctl(STDERR_FILENO, TIOCGWINSZ, &win) >= 0) 234 winp = &win;
|
/ast/src/cmd/pzip/ |
H A D | pin.c | 1451 size_t win; local 1652 win = (state.window / row) * row; 1653 if (!(dat = newof(dat, unsigned char, win, 0))) 1655 if (!(buf = newof(buf, unsigned char, win, 0))) 1657 if ((m = sfread(ip, dat, win)) < 0)
|
Completed in 22 milliseconds