質問

As we know, the os will clean up any allocated memory after the program exited. but how about the opened or created files after coredump?

役に立ちましたか?

解決

It will close them as well. Although core dump abruptly terminates the program, the OS can still perform all normal clean-up routines it would do if the program terminated correctly.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top