no, it won't completely work, it can only increase your chance to recover data.

lumlumq (lumlum)
What if you have written to the log file the current position, and the power is off. In this case the process hasn't really done any read or write operation yet, the outcome is that your log file has recorded the change that hadn't really ocurred.
2001-4-12 -05:00

回到话题: 请教大家一个技术问题, UNIX系统下, 如何写一个C程序, 能够在异常中断后程序重启时自动恢复文件读写指针(即接着上次中断的断点接着读写).

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论