summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-11-01 21:17:38 +0000
committerbapt <bapt@FreeBSD.org>2015-11-01 21:17:38 +0000
commit1477bec6db952893631d0121f1a0b921b7352899 (patch)
treed7eefbc43ae961805537882e088a954e7b9cf530 /include
parente29f1d2f891c995886c7e37be37546b3dfd29efd (diff)
parenta23a95f981ff4d4789caf8a8349c8b017b1ac351 (diff)
downloadFreeBSD-src-1477bec6db952893631d0121f1a0b921b7352899.zip
FreeBSD-src-1477bec6db952893631d0121f1a0b921b7352899.tar.gz
Merge from head
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 5a5b82b..f55aaf7 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -144,6 +144,7 @@ struct __sFILE {
int _fl_count; /* recursive lock count */
int _orientation; /* orientation for fwide() */
__mbstate_t _mbstate; /* multibyte conversion state */
+ int _flags2; /* additional flags */
};
#ifndef _STDFILE_DECLARED
#define _STDFILE_DECLARED
@@ -176,6 +177,8 @@ __END_DECLS
#define __SALC 0x4000 /* allocate string space dynamically */
#define __SIGN 0x8000 /* ignore this file in _fwalk */
+#define __S2OAP 0x0001 /* O_APPEND mode is set */
+
/*
* The following three definitions are for ANSI C, which took them
* from System V, which brilliantly took internal interface macros and
OpenPOWER on IntegriCloud