ReactOS  0.4.13-dev-651-g5dbc677
io_s.h
Go to the documentation of this file.
1 
7 #ifndef _INC_IO_S
8 #define _INC_IO_S
9 
10 #include <io.h>
11 
12 #if defined(MINGW_HAS_SECURE_API)
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
19  _CRTIMP
20  errno_t
21  __cdecl
22  _access_s(
23  _In_z_ const char *_Filename,
24  _In_ int _AccessMode);
25 
27  _CRTIMP
28  errno_t
29  __cdecl
30  _chsize_s(
31  _In_ int _FileHandle,
33 
35  _CRTIMP
36  errno_t
37  __cdecl
38  _mktemp_s(
39  _Inout_updates_z_(_Size) char *_TemplateName,
40  _In_ size_t _Size);
41 
43  _CRTIMP
44  errno_t
45  __cdecl
46  _umask_s(
47  _In_ int _NewMode,
48  _Out_ int *_OldMode);
49 
50 #ifndef _WIO_S_DEFINED
51 #define _WIO_S_DEFINED
52 
54  _CRTIMP
55  errno_t
56  __cdecl
57  _waccess_s(
58  _In_z_ const wchar_t *_Filename,
59  _In_ int _AccessMode);
60 
61  _CRTIMP
62  errno_t
63  __cdecl
64  _wmktemp_s(
65  _Inout_updates_z_(_SizeInWords) wchar_t *_TemplateName,
66  _In_ size_t _SizeInWords);
67 
68 #endif /* _WIO_S_DEFINED */
69 
70 #ifdef __cplusplus
71 }
72 #endif
73 
74 #endif /* MINGW_HAS_SECURE_API */
75 
76 #endif /* _INC_IO_S */
int CDECL _waccess_s(const wchar_t *filename, int mode)
Definition: file.c:750
#define __cdecl
Definition: accygwin.h:79
#define _CRTIMP
Definition: crtdefs.h:60
#define _Inout_updates_z_(size)
Definition: no_sal2.h:297
int CDECL _access_s(const char *filename, int mode)
Definition: file.c:713
int CDECL _chsize_s(int fd, __int64 size)
Definition: file.c:1318
#define _Out_
Definition: no_sal2.h:323
int errno_t
Definition: crtdefs.h:353
_In_ size_t _SizeInWords
Definition: time.h:317
#define _In_
Definition: no_sal2.h:204
#define _Check_return_wat_
Definition: specstrings.h:74
#define _In_z_
Definition: no_sal2.h:239
_Check_return_ _Ret_maybenull_ _In_ size_t _In_ size_t _Size
Definition: malloc.h:112
#define __int64
Definition: basetyps.h:16