1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _INC_IO_S
7#define _INC_IO_S
8
9#include <io.h>
10
11#if defined(MINGW_HAS_SECURE_API)
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17  errno_t __cdecl _access_s (const char *_Filename,int _AccessMode);
18  errno_t __cdecl _chsize_s (int _FileHandle,__int64 _Size);
19  errno_t __cdecl _mktemp_s (char *_TemplateName,size_t _Size);
20  errno_t __cdecl _umask_s (int _NewMode,int *_OldMode);
21
22#ifndef _WIO_S_DEFINED
23#define _WIO_S_DEFINED
24  errno_t __cdecl _waccess_s (const wchar_t *_Filename,int _AccessMode);
25  errno_t __cdecl _wmktemp_s (wchar_t *_TemplateName, size_t _SizeInWords);
26#endif
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif
33#endif
34