As far as I know, one can not have more then 1 interface for the same C procedure.
Yet fcntl (2) seems to have 3. How come?

[08:02:50 /tmp]$ man fcntl |head -n17



FCNTL(2)            Linux Programmer's Manual            FCNTL(2)


NAME
       fcntl - manipulate file descriptor

SYNOPSIS
       #include <unistd.h>
       #include <fcntl.h>

       int fcntl(int fd, int cmd);
       int fcntl(int fd, int cmd, long arg);
       int fcntl(int fd, int cmd, struct flock * lock);

[08:02:53 /tmp]$ 


A related question:
Does overloading means having more then 1 procedure with the same name?


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to