aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw/include/fcntl.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-06-18 04:13:18 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-06-18 04:13:18 +0000
commit9fe2a2157b08beb8b96270a1a3a1663dad07f74b (patch)
treefbcec6cae38445626fda69d453c562a960aa145f /winsup/mingw/include/fcntl.h
parent6cde27195c7527fde31eb06a2025f67657e06150 (diff)
downloadnewlib-9fe2a2157b08beb8b96270a1a3a1663dad07f74b.zip
newlib-9fe2a2157b08beb8b96270a1a3a1663dad07f74b.tar.gz
newlib-9fe2a2157b08beb8b96270a1a3a1663dad07f74b.tar.bz2
2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/_mingw.h (__MINGW_IMPORT): Check for prior definition before defining. * include/excpt.h (): Include windef.h not windows.h. * include/fcntl.h (_O_SHORT_LIVED): Add define. (_chmod): Add prototype. (_creat): Correct prototype. (SH_DENY*): Rename defines to _SH_DENY*. (SH_DENY*): Add Non-ANSI names for _SH_DENY*. include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG, _IOAPPEND): Add defines. (_wfindfirst): Correct prototype. (_wfdopen): Add prototype. * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add prototypes. * include/string.h (_mbschr, _mbstok, _mbsncat): Remove prototypes. (_wcsdup): Correct prototype. * include/mbstring.h: Remove comments about _mbschr, _mbstok, _mbsncat being in string.h. * include/wchar.h (_wfindfirst): Correct prototype. * include/tchar.h (_tfdopen): Add _UNICODE mappings.
Diffstat (limited to 'winsup/mingw/include/fcntl.h')
-rw-r--r--winsup/mingw/include/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/mingw/include/fcntl.h b/winsup/mingw/include/fcntl.h
index bcc7bca..7b7a8cb 100644
--- a/winsup/mingw/include/fcntl.h
+++ b/winsup/mingw/include/fcntl.h
@@ -58,6 +58,8 @@
#define _O_TRUNC 0x0200 /* Truncate the file if it does exist. */
#define _O_EXCL 0x0400 /* Open only if the file does not exist. */
+#define _O_SHORT_LIVED 0x1000
+
/* NOTE: Text is the default even if the given _O_TEXT bit is not on. */
#define _O_TEXT 0x4000 /* CR-LF in file becomes LF in memory. */
#define _O_BINARY 0x8000 /* Input and output is not translated. */