fcntl (2) Linux Manual Page
fcntl – manipulate file descriptor Synopsis#include <unistd.h> #include <fcntl.h> int fcntl(int fd, int cmd, … /* arg */ );Descriptionfcntl() performs one of the operations described below on the open file descriptor fd. The operation is determined by cmd. fcntl() can take an optional third argument. Whether or not this argument is required is determined by…
