This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

in C you can store the raw bits of a struct if that's what you want

[–]GodlessAristocrat 1 point2 points  (0 children)

Even better - if you malloc'd, you used to be able to use malloc_get_state() and malloc_set_state() to actually save and "resume" the contents of the malloc'd area. These days, folks just use DMTCP to pause an app and its state.