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
相關文章
相關標籤/搜索