Searched defs:ws (Results 1 - 3 of 3) sorted by relevance
/systemd/src/shared/ |
H A D | ptyfwd.c | 314 struct winsize ws; local 321 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) >= 0) 322 (void) ioctl(f->master, TIOCSWINSZ, &ws); 334 struct winsize ws; local 367 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) >= 0) 368 (void) ioctl(master, TIOCSWINSZ, &ws);
|
/systemd/src/basic/ |
H A D | terminal-util.c | 733 struct winsize ws = {}; local 735 if (ioctl(fd, TIOCGWINSZ, &ws) < 0) 738 if (ws.ws_col <= 0) 741 return ws.ws_col; 767 struct winsize ws = {}; local 769 if (ioctl(fd, TIOCGWINSZ, &ws) < 0) 772 if (ws.ws_row <= 0) 775 return ws.ws_row;
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-message.c | 488 size_t ws; local 500 ws = bus_gvariant_determine_word_size(message_size, 0); 501 if (footer_accessible < ws) 504 m->fields_size = bus_gvariant_read_word_le((uint8_t*) footer + footer_accessible - ws, ws); 505 if (ALIGN8(m->fields_size) > message_size - ws)
|
Completed in 26 milliseconds