Linux的文件操作

在Linux系统中,打开的文件是用一个整数来表示的,表示打开文件的整数,称为文件描述符。 1.open/create int open(const char *pathname, int flags); int open(const char *pathname, int flags, mode_t mode); int creat(const char *pathname, mode_t mod
相关文章
相关标签/搜索