Function gkfs::syscall::gkfs_truncate(const std::string&, off_t)
Defined in File gkfs_functions.cpp
Function Documentation
-
int gkfs::syscall::gkfs_truncate(const std::string &path, off_t offset)
gkfs wrapper for truncate() system calls errno may be set
- Parameters
path –
length –
- Returns
0 on success, -1 on failure