Searched refs:nrread (Results 1 – 1 of 1) sorted by relevance
366 int nrread; in read_buf() local368 nrread = read(fd, buf, PBUFSIZ); in read_buf()369 if (nrread == -1) { in read_buf()373 buf[nrread] = '\0'; in read_buf()375 return nrread; in read_buf()433 int nrread; in read_from_gdb_write_to_pid() local435 nrread = read_buf(from_gdb, buf, "from gdb on stdin"); in read_from_gdb_write_to_pid()436 if (nrread <= 0) { in read_from_gdb_write_to_pid()437 if (nrread == 0) in read_from_gdb_write_to_pid()445 return write_buf(to_pid, buf, nrread, "to_pid", /* notify */ True); in read_from_gdb_write_to_pid()[all …]