11 #include <sys/types.h>
32 ssize_t
full_read(
int fd,
void *buf,
size_t count);
40 ssize_t
full_write(
int fd,
const void *buf,
size_t count);
49 ssize_t
full_pread(
int fd,
void *buf,
size_t count, off_t offset);
58 ssize_t
full_pwrite(
int fd,
const void *buf,
size_t count, off_t offset);
67 ssize_t
full_pread64(
int fd,
void *buf,
size_t count, int64_t offset);
76 ssize_t
full_pwrite64(
int fd,
const void *buf,
size_t count, int64_t offset);
84 ssize_t
full_fread(FILE * file,
void *buf,
size_t count);
92 ssize_t
full_fwrite(FILE * file,
const void *buf,
size_t count);
ssize_t full_read(int fd, void *buf, size_t count)
Read the next bytes from a file descriptor.
ssize_t full_pwrite(int fd, const void *buf, size_t count, off_t offset)
Write arbitrary bytes to a file descriptor.
ssize_t full_pread(int fd, void *buf, size_t count, off_t offset)
Read arbitrary bytes from a file descriptor.
ssize_t full_pwrite64(int fd, const void *buf, size_t count, int64_t offset)
Write arbitrary bytes to a file descriptor.
ssize_t full_write(int fd, const void *buf, size_t count)
Write the next bytes to a file descriptor.
ssize_t full_fread(FILE *file, void *buf, size_t count)
Read the next bytes from a file stream.
ssize_t full_pread64(int fd, void *buf, size_t count, int64_t offset)
Read arbitrary bytes from a file descriptor.
ssize_t full_fwrite(FILE *file, const void *buf, size_t count)
Write the next bytes to a file stream.