From owner-freebsd-current Sat Nov 7 09:15:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA16482 for freebsd-current-outgoing; Sat, 7 Nov 1998 09:15:28 -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 JAA16476 for ; Sat, 7 Nov 1998 09:15:27 -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 MAA20011 for ; Sat, 7 Nov 1998 12:18:06 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: porkfriedrice.ny.genx.net: bright owned process doing -bs Date: Sat, 7 Nov 1998 12:18:06 -0500 (EST) From: Alfred Perlstein X-Sender: bright@porkfriedrice.ny.genx.net To: current@FreeBSD.ORG Subject: O_SYNC 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 this is defined on a lot of archs in include/sys/fnctl.h fcntl.h:#define O_SYNC 0x10 /* synchronized file update option */ is there a similar op for freebsd? and if so, why is it different than everyone else? afaik it implies fsync() on every write(). when i come across and app that uses it i usually just #define it to zero and things work, although it might cause a loss of robustness of certain apps. Can someone commit this as a synonym to what we use? thanks, Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message