ReactOS 0.4.15-dev-8222-g9164419
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
15extern "C" {
16#endif
17
23 _In_z_ const char *_Filename,
24 _In_ int _AccessMode);
25
31 _In_ int _FileHandle,
33
38 _mktemp_s(
39 _Inout_updates_z_(_Size) char *_TemplateName,
40 _In_ size_t _Size);
41
46 _umask_s(
47 _In_ int _NewMode,
48 _Out_ int *_OldMode);
49
50#ifndef _WIO_S_DEFINED
51#define _WIO_S_DEFINED
52
58 _In_z_ const wchar_t *_Filename,
59 _In_ int _AccessMode);
60
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 */
#define __cdecl
Definition: accygwin.h:79
#define __int64
Definition: basetyps.h:16
#define _Check_return_wat_
Definition: crtdefs.h:462
#define _CRTIMP
Definition: crtdefs.h:72
int errno_t
Definition: crtdefs.h:374
_Check_return_ _Ret_maybenull_ _In_ size_t _In_ size_t _Size
Definition: malloc.h:109
#define _In_z_
Definition: ms_sal.h:313
#define _Inout_updates_z_(size)
Definition: ms_sal.h:389
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
_In_ size_t _SizeInWords
Definition: time.h:309
int CDECL _access_s(const char *filename, int mode)
Definition: file.c:712
int CDECL _waccess_s(const wchar_t *filename, int mode)
Definition: file.c:749
int CDECL _chsize_s(int fd, __int64 size)
Definition: file.c:1318