On 08/04/06, Jerry Feldman <gaf at blu.org> wrote: > One solution is to use lockf(3) or fcntl(2) as a lock. Two notes: on Linux, lockf(3) is fcntl(2), and an fcntl(2) "lock" is advisory, so an ill-behaved program will ignore it and write with impunity. Gordon -- Gordon Marx gcmarx at gmail.com