diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2002-06-18 08:13:18 +0400 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2002-06-18 08:13:18 +0400 |
commit | 9fe2a2157b08beb8b96270a1a3a1663dad07f74b (patch) | |
tree | fbcec6cae38445626fda69d453c562a960aa145f /winsup/mingw/include/io.h | |
parent | 6cde27195c7527fde31eb06a2025f67657e06150 (diff) |
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/io.h')
-rw-r--r-- | winsup/mingw/include/io.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/winsup/mingw/include/io.h b/winsup/mingw/include/io.h index ea86ffa0c..84014c794 100644 --- a/winsup/mingw/include/io.h +++ b/winsup/mingw/include/io.h @@ -125,6 +125,7 @@ char* _getcwd (char*, int); int _mkdir (const char*); char* _mktemp (char*); int _rmdir (const char*); +int _chmod (const char*, int); #ifdef __MSVCRT__ @@ -144,6 +145,7 @@ char* getcwd (char*, int); int mkdir (const char*); char* mktemp (char*); int rmdir (const char*); +int chmod (const char*, int); #endif /* _UWIN */ #endif /* Not _NO_OLDNAMES */ @@ -181,7 +183,7 @@ int _commit(int); /* NOTE: The only significant bit in unPermissions appears to be bit 7 (0x80), * the "owner write permission" bit (on FAT). */ -int _creat (const char*, unsigned); +int _creat (const char*, int); int _dup (int); int _dup2 (int, int); @@ -228,7 +230,7 @@ int _write (int, const void*, unsigned int); int _waccess(const wchar_t*, int); int _wchmod(const wchar_t*, int); int _wcreat(const wchar_t*, int); -long _wfindfirst(wchar_t*, struct _wfinddata_t*); +long _wfindfirst(const wchar_t*, struct _wfinddata_t*); int _wfindnext(long, struct _wfinddata_t *); int _wunlink(const wchar_t*); int _wopen(const wchar_t*, int, ...); |