Author: akhaldi
Date: Sun Sep 1 22:03:22 2013
New Revision: 59957
URL:
http://svn.reactos.org/svn/reactos?rev=59957&view=rev
Log:
[CRT]
* Annotate io_s.h.
Modified:
trunk/reactos/include/crt/sec_api/io_s.h
Modified: trunk/reactos/include/crt/sec_api/io_s.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/sec_api/io_s.h…
==============================================================================
--- trunk/reactos/include/crt/sec_api/io_s.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/sec_api/io_s.h [iso-8859-1] Sun Sep 1 22:03:22 2013
@@ -3,6 +3,7 @@
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
+
#ifndef _INC_IO_S
#define _INC_IO_S
@@ -14,20 +15,62 @@
extern "C" {
#endif
- _CRTIMP errno_t __cdecl _access_s(const char *_Filename,int _AccessMode);
- _CRTIMP errno_t __cdecl _chsize_s(int _FileHandle,__int64 _Size);
- _CRTIMP errno_t __cdecl _mktemp_s(char *_TemplateName,size_t _Size);
- _CRTIMP errno_t __cdecl _umask_s(int _NewMode,int *_OldMode);
+ _Check_return_wat_
+ _CRTIMP
+ errno_t
+ __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
#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);
-#endif
+
+ _Check_return_wat_
+ _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
}
#endif
-#endif
-#endif
+#endif /* MINGW_HAS_SECURE_API */
+
+#endif /* _INC_IO_S */