* Annotate io_s.h.

svn path=/trunk/; revision=59957
This commit is contained in:
Amine Khaldi 2013-09-01 22:03:22 +00:00
parent b1248f0ad2
commit 89f65807da

View file

@ -3,6 +3,7 @@
* This file is part of the w64 mingw-runtime package. * This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package. * No warranty is given; refer to the file DISCLAIMER within this package.
*/ */
#ifndef _INC_IO_S #ifndef _INC_IO_S
#define _INC_IO_S #define _INC_IO_S
@ -14,20 +15,62 @@
extern "C" { extern "C" {
#endif #endif
_CRTIMP errno_t __cdecl _access_s(const char *_Filename,int _AccessMode); _Check_return_wat_
_CRTIMP errno_t __cdecl _chsize_s(int _FileHandle,__int64 _Size); _CRTIMP
_CRTIMP errno_t __cdecl _mktemp_s(char *_TemplateName,size_t _Size); errno_t
_CRTIMP errno_t __cdecl _umask_s(int _NewMode,int *_OldMode); __cdecl
_access_s(
_In_z_ const char *_Filename,
_In_ int _AccessMode);
_Check_return_wat_
_CRTIMP
errno_t
__cdecl
_chsize_s(
_In_ int _FileHandle,
_In_ __int64 _Size);
_Check_return_wat_
_CRTIMP
errno_t
__cdecl
_mktemp_s(
_Inout_updates_z_(_Size) char *_TemplateName,
_In_ size_t _Size);
_Check_return_wat_
_CRTIMP
errno_t
__cdecl
_umask_s(
_In_ int _NewMode,
_Out_ int *_OldMode);
#ifndef _WIO_S_DEFINED #ifndef _WIO_S_DEFINED
#define _WIO_S_DEFINED #define _WIO_S_DEFINED
_CRTIMP errno_t __cdecl _waccess_s(const wchar_t *_Filename,int _AccessMode);
_CRTIMP errno_t __cdecl _wmktemp_s(wchar_t *_TemplateName,size_t _SizeInWords); _Check_return_wat_
#endif _CRTIMP
errno_t
__cdecl
_waccess_s(
_In_z_ const wchar_t *_Filename,
_In_ int _AccessMode);
_CRTIMP
errno_t
__cdecl
_wmktemp_s(
_Inout_updates_z_(_SizeInWords) wchar_t *_TemplateName,
_In_ size_t _SizeInWords);
#endif /* _WIO_S_DEFINED */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif #endif /* MINGW_HAS_SECURE_API */
#endif
#endif /* _INC_IO_S */