On 01/14/2014 09:53 PM, Lord Laraby wrote: > My two cents say, since the child is not referencing 'fp' at all, > there is no violation of the POSIX semantics in this situation.
But the child _IS_ referencing 'fp', via the implicit fflush(NULL) done by exit(). If you use _exit() to bypass that implicit fflush, things are a lot nicer. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature

