-/* $OpenBSD: ibcs2_fcntl.c,v 1.5 1997/12/20 16:32:10 deraadt Exp $ */
+/* $OpenBSD: ibcs2_fcntl.c,v 1.6 2000/04/21 15:50:22 millert Exp $ */
/* $NetBSD: ibcs2_fcntl.c,v 1.6 1996/05/03 17:05:20 christos Exp $ */
/*
if (flags & IBCS2_O_RDWR) r |= O_RDWR;
if (flags & (IBCS2_O_NDELAY | IBCS2_O_NONBLOCK)) r |= O_NONBLOCK;
if (flags & IBCS2_O_APPEND) r |= O_APPEND;
- if (flags & IBCS2_O_SYNC) r |= O_FSYNC;
+ if (flags & IBCS2_O_SYNC) r |= O_SYNC;
if (flags & IBCS2_O_CREAT) r |= O_CREAT;
if (flags & IBCS2_O_TRUNC) r |= O_TRUNC;
if (flags & IBCS2_O_EXCL) r |= O_EXCL;
if (flags & IBCS2_O_RDWR) r |= O_RDWR;
if (flags & IBCS2_O_NDELAY) r |= O_NONBLOCK;
if (flags & IBCS2_O_APPEND) r |= O_APPEND;
- if (flags & IBCS2_O_SYNC) r |= O_FSYNC;
+ if (flags & IBCS2_O_SYNC) r |= O_SYNC;
if (flags & IBCS2_O_NONBLOCK) r |= O_NONBLOCK;
if (flags & IBCS2_O_CREAT) r |= O_CREAT;
if (flags & IBCS2_O_TRUNC) r |= O_TRUNC;
if (flags & O_RDWR) r |= IBCS2_O_RDWR;
if (flags & O_NDELAY) r |= IBCS2_O_NONBLOCK;
if (flags & O_APPEND) r |= IBCS2_O_APPEND;
- if (flags & O_FSYNC) r |= IBCS2_O_SYNC;
+ if (flags & O_SYNC) r |= IBCS2_O_SYNC;
if (flags & O_NONBLOCK) r |= IBCS2_O_NONBLOCK;
if (flags & O_CREAT) r |= IBCS2_O_CREAT;
if (flags & O_TRUNC) r |= IBCS2_O_TRUNC;
-/* $OpenBSD: linux_file.c,v 1.12 2000/04/19 08:34:56 csapuntz Exp $ */
+/* $OpenBSD: linux_file.c,v 1.13 2000/04/21 15:50:20 millert Exp $ */
/* $NetBSD: linux_file.c,v 1.15 1996/05/20 01:59:09 fvdl Exp $ */
/*
res |= cvtto_bsd_mask(lflags, LINUX_O_NOCTTY, O_NOCTTY);
res |= cvtto_bsd_mask(lflags, LINUX_O_TRUNC, O_TRUNC);
res |= cvtto_bsd_mask(lflags, LINUX_O_NDELAY, O_NDELAY);
- res |= cvtto_bsd_mask(lflags, LINUX_O_SYNC, O_FSYNC);
+ res |= cvtto_bsd_mask(lflags, LINUX_O_SYNC, O_SYNC);
res |= cvtto_bsd_mask(lflags, LINUX_FASYNC, O_ASYNC);
res |= cvtto_bsd_mask(lflags, LINUX_O_APPEND, O_APPEND);
res |= cvtto_linux_mask(bflags, O_NOCTTY, LINUX_O_NOCTTY);
res |= cvtto_linux_mask(bflags, O_TRUNC, LINUX_O_TRUNC);
res |= cvtto_linux_mask(bflags, O_NDELAY, LINUX_O_NDELAY);
- res |= cvtto_linux_mask(bflags, O_FSYNC, LINUX_O_SYNC);
+ res |= cvtto_linux_mask(bflags, O_SYNC, LINUX_O_SYNC);
res |= cvtto_linux_mask(bflags, O_ASYNC, LINUX_FASYNC);
res |= cvtto_linux_mask(bflags, O_APPEND, LINUX_O_APPEND);
-/* $OpenBSD: sunos_ioctl.c,v 1.9 1998/04/26 22:54:19 niklas Exp $ */
+/* $OpenBSD: sunos_ioctl.c,v 1.10 2000/04/21 15:50:21 millert Exp $ */
/* $NetBSD: sunos_ioctl.c,v 1.23 1996/03/14 19:33:46 christos Exp $ */
/*
{ SUN_FNBIO, O_NONBLOCK },
{ SUN_SHLOCK, O_SHLOCK },
{ SUN_EXLOCK, O_EXLOCK },
- { SUN_FSYNC, O_FSYNC },
+ { SUN_FSYNC, O_SYNC },
{ SUN_FSETBLK, 0 },
{ SUN_FNOCTTY, 0 }
};
-/* $OpenBSD: sunos_misc.c,v 1.22 2000/01/22 23:06:34 millert Exp $ */
+/* $OpenBSD: sunos_misc.c,v 1.23 2000/04/21 15:50:21 millert Exp $ */
/* $NetBSD: sunos_misc.c,v 1.65 1996/04/22 01:44:31 christos Exp $ */
/*
r |= ((l & (0x0004 | 0x1000 | 0x4000)) ? O_NONBLOCK : 0);
r |= ((l & 0x0080) ? O_SHLOCK : 0);
r |= ((l & 0x0100) ? O_EXLOCK : 0);
- r |= ((l & 0x2000) ? O_FSYNC : 0);
+ r |= ((l & 0x2000) ? O_SYNC : 0);
SCARG(uap, flags) = r;
ret = sys_open(p, (struct sys_open_args *)uap, retval);
-/* $OpenBSD: svr4_fcntl.c,v 1.14 1999/10/07 16:14:28 brad Exp $ */
+/* $OpenBSD: svr4_fcntl.c,v 1.15 2000/04/21 15:50:21 millert Exp $ */
/* $NetBSD: svr4_fcntl.c,v 1.14 1995/10/14 20:24:24 christos Exp $ */
/*
r |= (l & SVR4_O_RDWR) ? O_RDWR : 0;
r |= (l & SVR4_O_NDELAY) ? O_NONBLOCK : 0;
r |= (l & SVR4_O_APPEND) ? O_APPEND : 0;
- r |= (l & SVR4_O_SYNC) ? O_FSYNC : 0;
+ r |= (l & SVR4_O_SYNC) ? O_SYNC : 0;
#if 0
/* Dellism ??? */
r |= (l & SVR4_O_RAIOSIG) ? O_ASYNC : 0;
r |= (l & O_RDWR) ? SVR4_O_RDWR : 0;
r |= (l & O_NDELAY) ? SVR4_O_NONBLOCK : 0;
r |= (l & O_APPEND) ? SVR4_O_APPEND : 0;
- r |= (l & O_FSYNC) ? SVR4_O_SYNC : 0;
+ r |= (l & O_SYNC) ? SVR4_O_SYNC : 0;
#if 0
/* Dellism ??? */
r |= (l & O_ASYNC) ? SVR4_O_RAIOSIG : 0;
-/* $OpenBSD: ultrix_pathname.c,v 1.3 1996/08/02 20:35:52 niklas Exp $ */
+/* $OpenBSD: ultrix_pathname.c,v 1.4 2000/04/21 15:50:21 millert Exp $ */
/* $NetBSD: ultrix_pathname.c,v 1.2 1996/04/07 17:23:07 jonathan Exp $ */
/*
r |= ((l & (0x0004 | 0x1000 | 0x4000)) ? O_NONBLOCK : 0);
r |= ((l & 0x0080) ? O_SHLOCK : 0);
r |= ((l & 0x0100) ? O_EXLOCK : 0);
- r |= ((l & 0x2000) ? O_FSYNC : 0);
+ r |= ((l & 0x2000) ? O_SYNC : 0);
SCARG(uap, flags) = r;
ret = sys_open(p, (struct sys_open_args *)uap, retval);