Searched refs:ptbuf (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12.1/crypto/openssh/openbsd-compat/ |
| H A D | bsd-openpty.c | 152 char ptbuf[64], ttbuf[64]; in openpty() 162 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty%c%c", in openpty() 167 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() 169 snprintf(ptbuf, sizeof(ptbuf), "/dev/ptyp%d", i); in openpty() 171 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty()
|
| /freebsd-12.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-12.1/sys/dev/ocs_fc/ |
| H A D | ocs_ioctl.c | 414 ocs_textbuf_t *ptbuf = NULL; in ocs_ioctl() local 419 ptbuf = &ocs->ddump_saved; in ocs_ioctl() 458 ptbuf = &textbuf; in ocs_ioctl() 463 if (ptbuf != NULL) { in ocs_ioctl() 467 n = ocs_textbuf_ext_get_written(ptbuf, idx); in ocs_ioctl() 475 ocs_textbuf_ext_get_buffer(ptbuf, idx), n)) { in ocs_ioctl() 483 if (ptbuf == &textbuf) { in ocs_ioctl()
|