What is the purpose of calling fcntl() be called with the file descriptor as -1 and cmd as F_GETFL? What is the purpose of calling fcntl() be called with the file descriptor as -1 and cmd as F_GETFL? unix unix