Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 1998 12:18:06 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        current@FreeBSD.ORG
Subject:   O_SYNC
Message-ID:  <Pine.BSF.4.05.9811071213160.19817-100000@porkfriedrice.ny.genx.net>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9811071213160.19817-100000>