From owner-freebsd-current Mon Nov 9 15:56:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA09262 for freebsd-current-outgoing; Mon, 9 Nov 1998 15:56:14 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dorsey.fcc.net (dorsey.fcc.net [207.198.253.29]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA09255 for ; Mon, 9 Nov 1998 15:56:12 -0800 (PST) (envelope-from nathan@rockland.net) Received: from noc.fcc.net ([207.198.253.18]) by dorsey.fcc.net (Post.Office MTA v3.5.2 release 221 ID# 0-55805U3500L350S0V35) with ESMTP id net; Mon, 9 Nov 1998 18:55:15 -0500 Received: (from nathan@localhost) by noc.fcc.net (8.9.1/8.9.1) id SAA08881; Mon, 9 Nov 1998 18:56:38 -0500 (EST) Message-ID: <19981109185638.B8871@rtfm.net> Date: Mon, 9 Nov 1998 18:56:38 -0500 From: Nathan Dorfman To: Alfred Perlstein , "David E. Cross" Cc: current@FreeBSD.ORG Subject: Re: O_SYNC References: <199811072154.QAA00324@phoenix.cs.rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Alfred Perlstein on Sun, Nov 08, 1998 at 10:44:24AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Nov 08, 1998 at 10:44:24AM -0500, Alfred Perlstein wrote: > > 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 */ > Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com > -- There are operating systems, and then there's FreeBSD. > -- http://www.freebsd.org/ 3.0-current > > On Sat, 7 Nov 1998, David E. Cross wrote: > > > Is 'O_FSYNC" what you are looking for? > > > > #define O_FSYNC 0x0080 /* synchronous writes */ > > > > > > -- > > David Cross > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message