<分区>
根据 the Linux manual page , Linux C API open
有两个原型(prototype)如下:
int open(const char *pathname, int oflags);
int open(const char *pathname, int oflags, mode_t mode);
让我困惑的是:
为什么 Linux C API 'open' 支持函数重载?
标签 c linux api overloading
<分区>
根据 the Linux manual page , Linux C API open
有两个原型(prototype)如下:
int open(const char *pathname, int oflags);
int open(const char *pathname, int oflags, mode_t mode);
让我困惑的是:
为什么 Linux C API 'open' 支持函数重载?
最佳答案
关于c - 为什么 Linux C API 'open' 支持函数重载?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30057566/