Class Unistd
java.lang.Object
com.github.marschall.nativebytebuffers.Unistd
Provides access to file management using
unistd.h
.-
Method Summary
-
Method Details
-
ftruncate
Truncate a file to a specified length.- Parameters:
fildes
- file descriptor referring to the underlying open filelength
- the size to truncate to- Throws:
IOException
- ifftruncate()
fails- See Also:
-
close
Close a file descriptor.- Parameters:
fildes
- file descriptor referring to the underlying open file- Throws:
IOException
- ifclose()
fails- See Also:
-