摘要:
不带缓冲的I/O 函数open, read, write, lseek,close. 这些函数都使用文件描述符。 系统调用 代码实现: 从标准输入读,并写入标准输出 #include <stdio.h> #include <stdlib.h> #include <stddef.h> #include 阅读全文
posted @ 2021-10-02 10:59
feiwatson
阅读(91)
评论(0)
推荐(0)
摘要:
readdir函数 #include <dirent.h> struct dirent *readdir(DIR *dirp); The readdir() function returns a pointer to a dirent structure representing the next 阅读全文
posted @ 2021-10-02 10:48
feiwatson
阅读(39)
评论(0)
推荐(0)

浙公网安备 33010602011771号