大方山水

文章
6
资源
0
加入时间
4年0月8天

how to write a struct to a file directly?

Using write and read system call. Following is an example:blk.h:#include <stdlib.h>#include <stdio.h>#include <fcntl.h>#include <sys/types.h>#include <sys...