Reactos
at master 76 lines 1.3 kB view raw
1/** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the w64 mingw-runtime package. 4 * No warranty is given; refer to the file DISCLAIMER within this package. 5 */ 6 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 18 _Check_return_wat_ 19 _CRTIMP 20 errno_t 21 __cdecl 22 _access_s( 23 _In_z_ const char *_Filename, 24 _In_ int _AccessMode); 25 26 _Check_return_wat_ 27 _CRTIMP 28 errno_t 29 __cdecl 30 _chsize_s( 31 _In_ int _FileHandle, 32 _In_ __int64 _Size); 33 34 _Check_return_wat_ 35 _CRTIMP 36 errno_t 37 __cdecl 38 _mktemp_s( 39 _Inout_updates_z_(_Size) char *_TemplateName, 40 _In_ size_t _Size); 41 42 _Check_return_wat_ 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 53 _Check_return_wat_ 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 */