Dumping memory to file

前端 未结 5 599
囚心锁ツ
囚心锁ツ 2021-01-05 11:57

I\'ve got a part of my memory that I want to dump to a file. One reason is to save the information somewhere, and another is to read it again when my program restarts.

5条回答
  •  醉话见心
    2021-01-05 12:12

    If you're on a unixy style system memmap and memcpy might give you neat solution.

提交回复
热议问题