The end of the fcntl() method
Posted Aug 19, 2004 15:18 UTC (Thu) by
iabervon (subscriber, #722)
In reply to:
The end of the fcntl() method by Tet
Parent article:
The end of the fcntl() method
What LWN refers to as "methods" aren't functions, but rather function pointer fields of structures. "check_flags" isn't an actual particular function. The context is:
struct file_operations {
...
int (*check_flags)(int flags);
...
};
It's actually wrong to call it a function, and calling it a method is simpler than calling it a function pointer field, which, in the context of C, is what a method is.
(
Log in to post comments)