Searched refs:nread (Results 1 – 2 of 2) sorted by relevance
51 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(cw_event)); in fill() local52 if (nread<0 || nread % sizeof(cw_event)) { in fill()54 return nread<0 ? -errno : -EINVAL; in fill()57 numEventsRead = nread / sizeof(cw_event); in fill()
152 int nread, buf_size = 2048; variable