《Unix環境高級編程》 總結 (二)

文件IO (第三章) 1、標準輸入、輸出、出錯: STDIN_FILENO(0)、STDOUT_FILENO(1)、STDERR_FILENO(2) 定義在<unistd.h>中 文件描述符的範圍: 0 —— OPEN_MAX -1 2、open()、openat() #include <fcntl.h> int open(const char *path,int oflag, ... /* mo
相關文章
相關標籤/搜索