From owner-freebsd-current Mon Nov 9 20:35:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA08209 for freebsd-current-outgoing; Mon, 9 Nov 1998 20:35:39 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA08204 for ; Mon, 9 Nov 1998 20:35:36 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id PAA03024; Tue, 10 Nov 1998 15:35:16 +1100 Date: Tue, 10 Nov 1998 15:35:16 +1100 From: Bruce Evans Message-Id: <199811100435.PAA03024@godzilla.zeta.org.au> To: nathan@rtfm.net, sthaug@nethelp.no Subject: Re: O_SYNC Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> NetBSD 1.3.2: >> fcntl.h:92:#define O_SYNC 0x0080 /* synchronous writes */ >> fcntl.h:127:#define FFSYNC O_SYNC /* kernel */ >> fcntl.h:129:#define O_FSYNC O_SYNC /* compat */ > >BSD/OS 3.1 fcntl.h: > >#define O_FSYNC 0x0080 /* synchronous writes */ >#define FFSYNC O_FSYNC /* kernel */ O_SYNC is apparently a non-BSD thing. POSIX.1b has optional features O_SYNC, O_DSYNC and O_RSYNC. O_SYNC syncs everything related to writes; O_DSYNC syncs written data; O_RSYNC syncs everything related to reads (mainly inode access times). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message