From owner-freebsd-current Mon Nov 9 16:04:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA10658 for freebsd-current-outgoing; Mon, 9 Nov 1998 16:04:12 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA10635 for ; Mon, 9 Nov 1998 16:04:07 -0800 (PST) (envelope-from sthaug@nethelp.no) From: sthaug@nethelp.no Received: (qmail 12426 invoked by uid 1001); 10 Nov 1998 00:03:46 +0000 (GMT) To: nathan@rtfm.net Cc: current@FreeBSD.ORG Subject: Re: O_SYNC In-Reply-To: Your message of "Mon, 9 Nov 1998 18:56:38 -0500" References: <19981109185638.B8871@rtfm.net> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Tue, 10 Nov 1998 01:03:46 +0100 Message-ID: <12424.910656226@verdi.nethelp.no> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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 */ BSD/OS 3.1 fcntl.h: #define O_FSYNC 0x0080 /* synchronous writes */ #define FFSYNC O_FSYNC /* kernel */ Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message