Print this page
4330 open(2) manual describes O_SYNC twice

*** 8,18 **** .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] ! .TH OPEN 2 "Jun 16, 2008" .SH NAME open, openat \- open a file .SH SYNOPSIS .LP .nf --- 8,18 ---- .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] ! .TH OPEN 2 "Nov 16, 2013" .SH NAME open, openat \- open a file .SH SYNOPSIS .LP .nf
*** 130,145 **** value of \fImode\fR, modified as follows (see \fBcreat\fR(2)): a bitwise-AND is performed on the file-mode bits and the corresponding bits in the complement of the process's file mode creation mask. Thus, all bits set in the process's file mode creation mask (see \fBumask\fR(2)) are correspondingly cleared in the file's permission mask. The "save text image after execution bit" of the mode ! is cleared (see \fBchmod\fR(2)). \fBO_SYNC\fR Write I/O operations on the file ! descriptor complete as defined by synchronized I/O file integrity completion ! (see \fBfcntl.h\fR(3HEAD) definition of \fBO_SYNC\fR.) When bits other than the ! file permission bits are set, the effect is unspecified. The \fImode\fR ! argument does not affect whether the file is open for reading, writing or for ! both. .RE .sp .ne 2 .na --- 130,142 ---- value of \fImode\fR, modified as follows (see \fBcreat\fR(2)): a bitwise-AND is performed on the file-mode bits and the corresponding bits in the complement of the process's file mode creation mask. Thus, all bits set in the process's file mode creation mask (see \fBumask\fR(2)) are correspondingly cleared in the file's permission mask. The "save text image after execution bit" of the mode ! is cleared (see \fBchmod\fR(2)). When bits other than the file permission bits ! are set, the effect is unspecified. The \fImode\fR argument does not affect ! whether the file is open for reading, writing or for both. .RE .sp .ne 2 .na
*** 302,312 **** \fB\fBO_SYNC\fR\fR .ad .sp .6 .RS 4n Write I/O operations on the file descriptor complete as defined by synchronized ! I/O file integrity completion. .RE .sp .ne 2 .na --- 299,310 ---- \fB\fBO_SYNC\fR\fR .ad .sp .6 .RS 4n Write I/O operations on the file descriptor complete as defined by synchronized ! I/O file integrity completion (see \fBfcntl.h\fR(3HEAD) definition of ! \fBO_SYNC\fR.) .RE .sp .ne 2 .na