Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2005 11:21:16 +0900
From:      Till Plewe <till@score.is.tsukuba.ac.jp>
To:        freebsd-questions@freebsd.org
Subject:   flockfile does not work with stdout (on
Message-ID:  <20050406022116.GB99381%till@score.is.tsukuba.ac.jp>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050406022116.GB99381%till>