Class Fcntl
java.lang.Object
com.github.marschall.nativebytebuffers.Fcntl
Allows to manipulate file descriptors
fcntl.h
.-
Method Summary
-
Method Details
-
fcntl
public static int fcntl(int fd, int cmd) Performs one of the operations described below on the open file descriptor fd. The operation is determined by cmd.void
version of the method.- Parameters:
fd
- file descriptor referring to the underlying open filecmd
- the command to execute- Returns:
- return code or result
- See Also:
-
fcntl
public static int fcntl(int fd, int cmd, int arg) Performs one of the operations described below on the open file descriptor fd. The operation is determined by cmd.int
version of the method.- Parameters:
fd
- file descriptor referring to the underlying open filecmd
- the command to executearg
- argument for cmd- Returns:
- return code or result
- See Also:
-