Function gkfs::syscall::gkfs_write_ws
Defined in File gkfs_functions.cpp
Function Documentation
-
ssize_t gkfs::syscall::gkfs_write_ws(gkfs::filemap::OpenFile &file, const char *buf, size_t count, off64_t offset, bool update_pos = false)
Wrapper function for all gkfs write operations errno may be set
- Parameters:
file –
buf –
count –
offset –
update_pos – pos should only be updated for some write operations (see man 2 pwrite)
- Returns:
written size or -1 on error