Function overloading in C
- by Andrei Ciobanu
Today, looking at the man page for open(), I've noticed this function is 'overloaded':
int open(const char *pathname, int flags);
int open(const char *pathname, int flags, mode_t mode);
I didn't thought it's possible on C. What's the 'trick' for achieving this ?