Lines Matching refs:read
35 * Read file into buffer. Used to read raw key data or initialization
38 * If file is a regular file, entire file is read and dlen is set
39 * to the number of bytes read. Otherwise, dlen should first be set
71 /* read the entire regular file */
75 /* read requested bytes from special file */
84 * to indicate there was no data to read and caller can
100 /* either it got read or it didn't */
101 if (read(fd, filebuf, filesize) != filesize) {
116 nread = read(fd, marker, left);
135 /* reset to actual number of bytes read */