Yes. It works. I didn't think of it at the first place. I went to think about the i-node structure to dig out what could help me.
请教大家一个技术问题, UNIX系统下, 如何写一个C程序, 能够在异常中断后程序重启时自动恢复文件读写指针(即接着上次中断的断点接着读写).