What is full name of fcntl Unix/Linux system call
Asked Answered
I

1

5

Man page of fcntl tell its used for manipulating file descriptors. But this name is not easy to remember. Knowing its full name will help in remember this system call name and its use. I tried to find on internet but could not get anything except man pages.

Please someone tell what is full name or origin of name of fcntl.

Inhospitality answered 27/11, 2017 at 17:54 Comment(0)
H
11

From POSIX, it is File Control:

NAME

    fcntl - file control


There is a related system call, ioctl, i.e. Input-Output Control. The difference between the 2 is that fcntl modifies the file descriptor / file description, whereas ioctl controls behaviour of the input/output device behind the file description.

Hypostasis answered 27/11, 2017 at 17:58 Comment(2)
Now, you just have to remember if it's fcntl, fctl or fctrl :pMisogamy
It's the one that sounds the most like it was written in Nahuatl with vowels omitted.Uncovenanted

© 2022 - 2024 — McMap. All rights reserved.