From owner-freebsd-current Mon Nov 9 16:00:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA09562 for freebsd-current-outgoing; Mon, 9 Nov 1998 16:00:36 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from porkfriedrice.ny.genx.net (porkfriedrice.ny.genx.net [206.64.4.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA09557 for ; Mon, 9 Nov 1998 16:00:35 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by porkfriedrice.ny.genx.net (8.9.1/8.9.1) with ESMTP id TAA17020; Mon, 9 Nov 1998 19:03:21 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: porkfriedrice.ny.genx.net: bright owned process doing -bs Date: Mon, 9 Nov 1998 19:03:20 -0500 (EST) From: Alfred Perlstein X-Sender: bright@porkfriedrice.ny.genx.net To: Nathan Dorfman cc: "David E. Cross" , current@FreeBSD.ORG Subject: Re: O_SYNC In-Reply-To: <19981109185638.B8871@rtfm.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 9 Nov 1998, Nathan Dorfman wrote: > > > Is 'O_FSYNC" what you are looking for? > > > > > > #define O_FSYNC 0x0080 /* synchronous writes */ > > > > Yes, however every other OS defines it at "O_SYNC" why are we different? > > or, if there is a reason, why isn't there a compatibility #define? > > > > can someone check this on netbsd/open bsd/os ? is it bsd or us? > > 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 */ > anyone want to commit this to make FreeBSD a bit more port-friendly? -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message