fcntl (2) Linux Manual Page
NAME fcntl – manipulate file descriptor SYNOPSIS #include <fcntl.h> #include <unistd.h> int fcntl(int fd, int cmd, … /* arg */); DESCRIPTION fcntl() 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…
