How can I control the output of processes (forked from a single process) all writing to the same file? f{un,}lockfile(file) seems to work unless file=stdout. Are there any other simple methods I can try? - Till PS. I am using 5.4-PRERELEASE i386 SMP-GENERIC