Searched refs:num_read (Results 1 – 2 of 2) sorted by relevance
315 int num_read; in FailFromInternalError() local318 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError()319 buffer[num_read] = '\0'; in FailFromInternalError()322 } while (num_read == -1 && errno == EINTR); in FailFromInternalError()324 if (num_read == 0) { in FailFromInternalError()
268 ssize_t num_read = ::read( psinfo_fd, m_stat_line, sizeof(m_stat_line)-1 );269 if( num_read == -1 )272 m_stat_line[num_read] = 0;287 num_read = ::readlink( fname_buff, m_binary_path_buff, sizeof(m_binary_path_buff)-1 );289 if( num_read == -1 )292 m_binary_path_buff[num_read] = 0;293 m_binary_path.assign( m_binary_path_buff, num_read );