Home
last modified time | relevance | path

Searched refs:ncaps (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/usr.bin/tmux/
Dtty-term.c521 tty_term_create(struct tty *tty, char *name, char **caps, u_int ncaps, in tty_term_create() argument
545 for (i = 0; i < ncaps; i++) { in tty_term_create()
669 tty_term_read_list(const char *name, int fd, char ***caps, u_int *ncaps, in tty_term_read_list() argument
698 *ncaps = 0; in tty_term_read_list()
730 *caps = xreallocarray(*caps, (*ncaps) + 1, sizeof **caps); in tty_term_read_list()
731 xasprintf(&(*caps)[*ncaps], "%s=%s", ent->name, s); in tty_term_read_list()
732 (*ncaps)++; in tty_term_read_list()
740 tty_term_free_list(char **caps, u_int ncaps) in tty_term_free_list() argument
744 for (i = 0; i < ncaps; i++) in tty_term_free_list()
Dclient.c246 u_int ncaps = 0; in client_main() local
323 tty_term_read_list(termname, STDIN_FILENO, &caps, &ncaps, in client_main()
358 client_send_identify(ttynam, termname, caps, ncaps, cwd, feat); in client_main()
359 tty_term_free_list(caps, ncaps); in client_main()
444 u_int ncaps, const char *cwd, int feat) in client_send_identify() argument
465 for (i = 0; i < ncaps; i++) { in client_send_identify()