Searched refs:cols (Results 1 – 5 of 5) sorted by relevance
852 int terminal_set_size_fd(int fd, const char *ident, unsigned rows, unsigned cols) { in terminal_set_size_fd() argument855 if (rows == UINT_MAX && cols == UINT_MAX) in terminal_set_size_fd()868 if (cols == UINT_MAX) in terminal_set_size_fd()869 cols = ws.ws_col; in terminal_set_size_fd()870 else if (cols > USHRT_MAX) in terminal_set_size_fd()871 cols = USHRT_MAX; in terminal_set_size_fd()873 if (rows == ws.ws_row && cols == ws.ws_col) in terminal_set_size_fd()877 ws.ws_col = cols; in terminal_set_size_fd()
126 int terminal_set_size_fd(int fd, const char *ident, unsigned rows, unsigned cols);
1389 size_t cols = columns(), position = pos2 - pos1 + 2; in status_print_strv_ifindex() local1395 if (position <= indent || size_add(size_add(position, 1), our_len) < cols) { in status_print_strv_ifindex()
2444 unsigned cols = columns(); in lldp_capabilities_legend() local2467 newline = w + strlen(table[i]) + (w == 0 ? 0 : 2) > cols; in lldp_capabilities_legend()
1785 stty cols xx rows yy