Lines Matching refs:buf
101 static int write_fully(int s, char* buf, int len);
250 char buf[max_len];
261 RESTARTABLE(read(s, buf+off, left), n);
269 if (buf[off+i] == 0) {
276 if ((strlen(buf) != strlen(ver_str)) ||
277 (atoi(buf) != ATTACH_PROTOCOL_VER)) {
296 ArgumentIterator args(buf, (max_len)-left);
386 int BsdAttachListener::write_fully(int s, char* buf, int len) {
388 int n = ::write(s, buf, len);
392 buf += n;