3 ms·
Thanks! Completely overlooked that they talked about ‘description’, not ‘descriptor’ in several places. It would have helped me if they pointed out that differ
by Someone 4y ago
Thanks! Completely overlooked that they talked about ‘description’, not ‘descriptor’ in several places.
It would have helped me if they pointed out that difference in a clearer way. The Linux man page says ‘Locks created by flock() are associated with an open file description (see open(2))’, and that says:
“The term open file description is the one used by POSIX to refer to the entries in the system-wide table of open files. In other contexts, this object is variously also called an "open file object", a "file handle", an "open file table entry", or—in kernel-developer parlance—a struct file.”
- yrro 4y ago> Thanks! Completely overlooked that they talked about ‘description’, not ‘descriptor’ in several places. The classic "close reading" that man pages require...