From owner-freebsd-hackers Fri Oct 17 16:21:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA14804 for hackers-outgoing; Fri, 17 Oct 1997 16:21:08 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.5.85]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA14791 for ; Fri, 17 Oct 1997 16:21:00 -0700 (PDT) (envelope-from tlambert@usr06.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.7/8.8.7) id QAA08747; Fri, 17 Oct 1997 16:20:58 -0700 (MST) Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp04.primenet.com, id smtpd008745; Fri Oct 17 16:20:53 1997 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id QAA07270; Fri, 17 Oct 1997 16:20:47 -0700 (MST) From: Terry Lambert Message-Id: <199710172320.QAA07270@usr06.primenet.com> Subject: Re: O_APPEND and flock() To: abial@korin.warman.org.pl (Andrzej Bialecki) Date: Fri, 17 Oct 1997 23:20:47 +0000 (GMT) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: from "Andrzej Bialecki" at Oct 15, 97 11:47:25 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > The question is, is the write() call atomic? I.e., I want to avoid the > situation, when parts of each write() call would be interleaved with each > other. > > Reading man pages and BSD docs didn't make it clear for me. Write in units of the device block size or smaller. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.