linux中read 如何从文件读取数据

日期:2017-09-16 03:01:18 人气:1

linux中read 如何从文件读取数据

注意:以下实例省略了错误处理。 #include #include #include #include #include typedef struct { char name[20]; int age; } Person; int main(int argc, char **argv) { // open int fd = open("name.file", O_RDWR|O_C
    A+
热门评论