DragonFly commits List (threaded) for 2008-07
DragonFly BSD
DragonFly commits List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sbin/hammer cmd_mirror.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Sat, 5 Jul 2008 21:19:36 +0200
Mail-followup-to: commits@crater.dragonflybsd.org

On Sat, Jul 05, 2008 at 07:13:30PM +0000, Johannes Hofmann wrote:
> a stupid question... Why is _exit() used here instead of exit()? I
> understand, that _exit() has to be used in combination with vfork(),
> but why is it used with plain fork()?

To prevent double flushing of stdio streams.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]