Searched refs:ptbuf (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/crypto/openssh/openbsd-compat/ |
| H A D | bsd-openpty.c | 163 char ptbuf[64], ttbuf[64]; in openpty() 173 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty%c%c", in openpty() 178 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() 180 snprintf(ptbuf, sizeof(ptbuf), "/dev/ptyp%d", i); in openpty() 182 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty()
|
| /freebsd-13.1/usr.bin/pr/ |
| H A D | pr.c | 1033 char *ptbuf; in inln() local 1036 ptbuf = buf; in inln() 1050 col = (ptbuf - buf) + *cps; in inln() 1063 *ptbuf++ = ' '; in inln() 1068 *ptbuf++ = ch; in inln() 1077 *ptbuf++ = ch; in inln() 1080 col = ptbuf - buf; in inln()
|
| /freebsd-13.1/sys/dev/ocs_fc/ |
| H A D | ocs_ioctl.c | 403 ocs_textbuf_t *ptbuf = NULL; in ocs_ioctl() local 408 ptbuf = &ocs->ddump_saved; in ocs_ioctl() 447 ptbuf = &textbuf; in ocs_ioctl() 451 if (ptbuf != NULL) { in ocs_ioctl() 455 n = ocs_textbuf_ext_get_written(ptbuf, idx); in ocs_ioctl() 463 ocs_textbuf_ext_get_buffer(ptbuf, idx), n)) { in ocs_ioctl() 471 if (ptbuf == &textbuf) { in ocs_ioctl()
|