Sunday, September 22, 2024

Need some information about fork(2)

Hello OpenBSD team

I'm having a little trouble understanding how this works.
of fork(2), according to man. It's an exact copy of the parent process.

There are limitations that are explicit in the man. However,
I wanted to know if the pointers we use are the same.

For example, if I had allocated 4 bytes in my parent process, I would launch the fork...

If I release this address from the child, is the father's pointer still intact, or is it released?


Translated with DeepL.com (free version)

No comments:

Post a Comment