HomeFreeBSD

fork(2): comment about doubtful use of stdio and exit(3) in example

Description

fork(2): comment about doubtful use of stdio and exit(3) in example

Add fflush(stdout) as the common idiom. Explain the need to use exit()
but advise against it.

Reviewed by: emaste, markj
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential revision: https://reviews.freebsd.org/D31425

Details

Provenance
kibAuthored on Aug 5 2021, 4:03 PM
Reviewer
emaste
Differential Revision
D31425: Some clarifications for fork(2) and _Exit(3) man pages
Parents
rG47363e99d3d3: Enable compressed debug on little-endian targets
Branches
Unknown
Tags
Unknown