Lines Matching defs:read
127 * and the read/write operation actually did its
171 {"sync", LIO_IO_SYNC, "sync i/o (read/write)"},
484 static void wait4sync_io(int fd, int read)
490 select(fd + 1, read ? &s : NULL, read ? NULL : &s, NULL, NULL);
623 * switch to write/read.
717 * bytes written/read.
1069 * Generic read function
1070 * This function can be used to do a read using read(2), reada(2),
1074 * bitmask, the caller can control the type of read and the wait method
1075 * that will be used. If no io type bits are set, read will be used.
1118 * total bytes read
1199 * switch to write/read.
1294 * bytes written/read.
1300 * read(2) is used if LIO_IO_SYNC bit is set or not none
1304 sprintf(Lio_SysCall, "read(%d, buf, %d)", fd, size);
1305 io_type = "read";
1313 if (((ret = read(fd, buffer, size)) == -1)
1316 "%s/%d read(%d, buf, %d) ret:-1, errno=%d %s",
1327 "%s/%d read(%d, buf, %d) returned=%d",
1336 ("DEBUG %s/%d: read completed without error (ret %d)\n",
1406 io_type = "listio(2) sync read";
1437 io_type = "lio_listio(3) sync read";
1482 io_type = "listio(2) async read";
1506 io_type = "lio_listio(3) async read";
1938 * lio_{read,write}_buffer, so when the function returns and the
2129 printf("\n********* read %s ***************\n",