ReactOS 0.4.15-dev-8135-g1bc6c90
io.h File Reference
#include <crtdefs.h>
#include <string.h>
#include <sec_api/io_s.h>
Include dependency graph for io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _finddata_t
 
struct  _finddata32_t
 
struct  _wfinddata_t
 
struct  _wfinddata32_t
 

Macros

#define _FSIZE_T_DEFINED
 
#define _FINDDATA_T_DEFINED
 
#define _WFINDDATA_T_DEFINED
 
#define _A_NORMAL   0x00
 
#define _A_RDONLY   0x01
 
#define _A_HIDDEN   0x02
 
#define _A_SYSTEM   0x04
 
#define _A_SUBDIR   0x10
 
#define _A_ARCH   0x20
 
#define F_OK   0 /* Check for file existence */
 
#define X_OK   1 /* Check for execute permission. */
 
#define W_OK   2 /* Check for write permission */
 
#define R_OK   4 /* Check for read permission */
 
#define _CRT_DIRECTORY_DEFINED
 
#define _WIO_DEFINED
 

Typedefs

typedef unsigned long _fsize_t
 

Functions

_Check_return_ _Ret_opt_z_ _CRTIMP char *__cdecl _getcwd (_Out_writes_opt_(_SizeInBytes) char *_DstBuf, _In_ int _SizeInBytes)
 
_Check_return_ _CRTIMP int __cdecl _access (_In_z_ const char *_Filename, _In_ int _AccessMode)
 
_Check_return_ _CRTIMP int __cdecl _chmod (_In_z_ const char *_Filename, _In_ int _Mode)
 
_Check_return_ _CRTIMP int __cdecl _chsize (_In_ int _FileHandle, _In_ long _Size)
 
_Check_return_opt_ _CRTIMP int __cdecl _close (_In_ int _FileHandle)
 
_Check_return_opt_ _CRTIMP int __cdecl _commit (_In_ int _FileHandle)
 
_Check_return_ _CRTIMP int __cdecl _creat (_In_z_ const char *_Filename, _In_ int _PermissionMode)
 
_Check_return_ _CRTIMP int __cdecl _dup (_In_ int _FileHandle)
 
_Check_return_ _CRTIMP int __cdecl _dup2 (_In_ int _FileHandleSrc, _In_ int _FileHandleDst)
 
_Check_return_ _CRTIMP int __cdecl _eof (_In_ int _FileHandle)
 
_Check_return_ _CRTIMP long __cdecl _filelength (_In_ int _FileHandle)
 
_CRTIMP intptr_t __cdecl _findfirst (const char *_Filename, struct _finddata_t *_FindData)
 
_Check_return_ _CRTIMP intptr_t __cdecl _findfirst32 (_In_z_ const char *_Filename, _Out_ struct _finddata32_t *_FindData)
 
_CRTIMP int __cdecl _findnext (intptr_t _FindHandle, struct _finddata_t *_FindData)
 
_Check_return_ _CRTIMP int __cdecl _findnext32 (_In_ intptr_t _FindHandle, _Out_ struct _finddata32_t *_FindData)
 
_Check_return_opt_ _CRTIMP int __cdecl _findclose (_In_ intptr_t _FindHandle)
 
_Check_return_ _CRTIMP int __cdecl _isatty (_In_ int _FileHandle)
 
_CRTIMP int __cdecl _locking (_In_ int _FileHandle, _In_ int _LockMode, _In_ long _NumOfBytes)
 
_Check_return_opt_ _CRTIMP long __cdecl _lseek (_In_ int _FileHandle, _In_ long _Offset, _In_ int _Origin)
 
_Check_return_ _CRTIMP char *__cdecl _mktemp (_Inout_z_ char *_TemplateName)
 
_Check_return_ _CRTIMP int __cdecl _pipe (_Inout_updates_(2) int *_PtHandles, _In_ unsigned int _PipeSize, _In_ int _TextMode)
 
_Check_return_ _CRTIMP int __cdecl _read (_In_ int _FileHandle, _Out_writes_bytes_(_MaxCharCount) void *_DstBuf, _In_ unsigned int _MaxCharCount)
 
_Check_return_ int __cdecl remove (_In_z_ const char *_Filename)
 
_Check_return_ int __cdecl rename (_In_z_ const char *_OldFilename, _In_z_ const char *_NewFilename)
 
_Check_return_ _CRTIMP int __cdecl _unlink (_In_z_ const char *_Filename)
 
_Check_return_ _CRTIMP int __cdecl unlink (_In_z_ const char *_Filename)
 
_Check_return_ _CRTIMP int __cdecl _setmode (_In_ int _FileHandle, _In_ int _Mode)
 
_Check_return_ _CRTIMP long __cdecl _tell (_In_ int _FileHandle)
 
_CRTIMP int __cdecl _umask (_In_ int _Mode)
 
_CRTIMP int __cdecl _write (_In_ int _FileHandle, _In_reads_bytes_(_MaxCharCount) const void *_Buf, _In_ unsigned int _MaxCharCount)
 
_Check_return_ _CRTIMP int __cdecl chdir (_In_z_ const char *_Path)
 
_Check_return_ _Ret_opt_z_ _CRTIMP char *__cdecl getcwd (_Out_writes_opt_(_SizeInBytes) char *_DstBuf, _In_ int _SizeInBytes)
 
_Check_return_ _CRTIMP int __cdecl mkdir (_In_z_ const char *_Path)
 
_CRTIMP char *__cdecl mktemp (_Inout_z_ char *_TemplateName)
 
_Check_return_ _CRTIMP int __cdecl rmdir (_In_z_ const char *_Path)
 
_Check_return_ _CRTIMP int __cdecl chmod (_In_z_ const char *_Filename, _In_ int _AccessMode)
 
_Check_return_wat_ _CRTIMP errno_t __cdecl _sopen_s (_Out_ int *_FileHandle, _In_z_ const char *_Filename, _In_ int _OpenFlag, _In_ int _ShareFlag, _In_ int _PermissionMode)
 
_CRTIMP int __cdecl _open (const char *_Filename, int _OpenFlag,...)
 
_CRTIMP int __cdecl _sopen (const char *_Filename, int _OpenFlag, int _ShareFlag,...)
 
_Check_return_ _CRTIMP int __cdecl _waccess (_In_z_ const wchar_t *_Filename, _In_ int _AccessMode)
 
_Check_return_ _CRTIMP int __cdecl _wchmod (_In_z_ const wchar_t *_Filename, _In_ int _Mode)
 
_Check_return_ _CRTIMP int __cdecl _wcreat (_In_z_ const wchar_t *_Filename, _In_ int _PermissionMode)
 
_Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst32 (_In_z_ const wchar_t *_Filename, _Out_ struct _wfinddata32_t *_FindData)
 
_Check_return_ _CRTIMP int __cdecl _wfindnext32 (_In_ intptr_t _FindHandle, _Out_ struct _wfinddata32_t *_FindData)
 
_Check_return_ _CRTIMP int __cdecl _wunlink (_In_z_ const wchar_t *_Filename)
 
_Check_return_ _CRTIMP int __cdecl _wrename (_In_z_ const wchar_t *_NewFilename, _In_z_ const wchar_t *_OldFilename)
 
_CRTIMP wchar_t *__cdecl _wmktemp (_Inout_z_ wchar_t *_TemplateName)
 
_Check_return_wat_ _CRTIMP errno_t __cdecl _wsopen_s (_Out_ int *_FileHandle, _In_z_ const wchar_t *_Filename, _In_ int _OpenFlag, _In_ int _ShareFlag, _In_ int _PermissionFlag)
 
_CRTIMP int __cdecl _wopen (const wchar_t *_Filename, int _OpenFlag,...)
 
_CRTIMP int __cdecl _wsopen (const wchar_t *_Filename, int _OpenFlag, int _ShareFlag,...)
 
int __cdecl __lock_fhandle (_In_ int _Filehandle)
 
void __cdecl _unlock_fhandle (_In_ int _Filehandle)
 
_CRTIMP intptr_t __cdecl _get_osfhandle (_In_ int _FileHandle)
 
_CRTIMP int __cdecl _open_osfhandle (_In_ intptr_t _OSFileHandle, _In_ int _Flags)
 
_Check_return_ _CRTIMP int __cdecl access (_In_z_ const char *_Filename, _In_ int _AccessMode)
 
_Check_return_ _CRTIMP int __cdecl chsize (_In_ int _FileHandle, _In_ long _Size)
 
_Check_return_opt_ _CRTIMP int __cdecl close (_In_ int _FileHandle)
 
_Check_return_ _CRTIMP int __cdecl creat (_In_z_ const char *_Filename, _In_ int _PermissionMode)
 
_Check_return_ _CRTIMP int __cdecl dup (_In_ int _FileHandle)
 
_Check_return_ _CRTIMP int __cdecl dup2 (_In_ int _FileHandleSrc, _In_ int _FileHandleDst)
 
_Check_return_ _CRTIMP int __cdecl __cdecl eof (_In_ int _FileHandle)
 
_Check_return_ _CRTIMP long __cdecl filelength (_In_ int _FileHandle)
 
_Check_return_ _CRTIMP int __cdecl isatty (_In_ int _FileHandle)
 
_Check_return_ _CRTIMP int __cdecl locking (_In_ int _FileHandle, _In_ int _LockMode, _In_ long _NumOfBytes)
 
_Check_return_opt_ _CRTIMP long __cdecl lseek (_In_ int _FileHandle, _In_ long _Offset, _In_ int _Origin)
 
_Check_return_ _CRTIMP int __cdecl open (_In_z_ const char *_Filename, _In_ int _OpenFlag,...)
 
_CRTIMP int __cdecl read (_In_ int _FileHandle, _Out_writes_bytes_(_MaxCharCount) void *_DstBuf, _In_ unsigned int _MaxCharCount)
 
_Check_return_ _CRTIMP int __cdecl setmode (_In_ int _FileHandle, _In_ int _Mode)
 
_CRTIMP int __cdecl sopen (const char *_Filename, int _OpenFlag, int _ShareFlag,...)
 
_Check_return_ _CRTIMP long __cdecl tell (_In_ int _FileHandle)
 
_CRTIMP int __cdecl umask (_In_ int _Mode)
 
_Check_return_ _CRTIMP int __cdecl write (_In_ int _Filehandle, _In_reads_bytes_(_MaxCharCount) const void *_Buf, _In_ unsigned int _MaxCharCount)
 
chargetlogin (void)
 

Macro Definition Documentation

◆ _A_ARCH

#define _A_ARCH   0x20

Definition at line 164 of file io.h.

◆ _A_HIDDEN

#define _A_HIDDEN   0x02

Definition at line 161 of file io.h.

◆ _A_NORMAL

#define _A_NORMAL   0x00

Definition at line 159 of file io.h.

◆ _A_RDONLY

#define _A_RDONLY   0x01

Definition at line 160 of file io.h.

◆ _A_SUBDIR

#define _A_SUBDIR   0x10

Definition at line 163 of file io.h.

◆ _A_SYSTEM

#define _A_SYSTEM   0x04

Definition at line 162 of file io.h.

◆ _CRT_DIRECTORY_DEFINED

#define _CRT_DIRECTORY_DEFINED

Definition at line 335 of file io.h.

◆ _FINDDATA_T_DEFINED

#define _FINDDATA_T_DEFINED

Definition at line 94 of file io.h.

◆ _FSIZE_T_DEFINED

#define _FSIZE_T_DEFINED

Definition at line 32 of file io.h.

◆ _WFINDDATA_T_DEFINED

#define _WFINDDATA_T_DEFINED

Definition at line 156 of file io.h.

◆ _WIO_DEFINED

#define _WIO_DEFINED

Definition at line 587 of file io.h.

◆ F_OK

#define F_OK   0 /* Check for file existence */

Definition at line 168 of file io.h.

◆ R_OK

#define R_OK   4 /* Check for read permission */

Definition at line 171 of file io.h.

◆ W_OK

#define W_OK   2 /* Check for write permission */

Definition at line 170 of file io.h.

◆ X_OK

#define X_OK   1 /* Check for execute permission. */

Definition at line 169 of file io.h.

Typedef Documentation

◆ _fsize_t

Definition at line 31 of file io.h.

Function Documentation

◆ __lock_fhandle()

int __cdecl __lock_fhandle ( _In_ int  _Filehandle)

◆ _access()

_Check_return_ _CRTIMP int __cdecl _access ( _In_z_ const char _Filename,
_In_ int  _AccessMode 
)

Referenced by HaveSpool(), and MkDirs().

◆ _chmod()

◆ _chsize()

_Check_return_ _CRTIMP int __cdecl _chsize ( _In_ int  _FileHandle,
_In_ long  _Size 
)

Referenced by ftruncate(), rw(), and test_chsize().

◆ _close()

◆ _commit()

_Check_return_opt_ _CRTIMP int __cdecl _commit ( _In_ int  _FileHandle)

◆ _creat()

_Check_return_ _CRTIMP int __cdecl _creat ( _In_z_ const char _Filename,
_In_ int  _PermissionMode 
)

Referenced by test__creat().

◆ _dup()

_Check_return_ _CRTIMP int __cdecl _dup ( _In_ int  _FileHandle)

Referenced by DllMain(), and test_stdin().

◆ _dup2()

_Check_return_ _CRTIMP int __cdecl _dup2 ( _In_ int  _FileHandleSrc,
_In_ int  _FileHandleDst 
)

◆ _eof()

_Check_return_ _CRTIMP int __cdecl _eof ( _In_ int  _FileHandle)

◆ _filelength()

_Check_return_ _CRTIMP long __cdecl _filelength ( _In_ int  _FileHandle)

Referenced by File::length(), and test_chsize().

◆ _findclose()

_Check_return_opt_ _CRTIMP int __cdecl _findclose ( _In_ intptr_t  _FindHandle)

Referenced by main().

◆ _findfirst()

_CRTIMP intptr_t __cdecl _findfirst ( const char _Filename,
struct _finddata_t _FindData 
)

◆ _findfirst32()

_Check_return_ _CRTIMP intptr_t __cdecl _findfirst32 ( _In_z_ const char _Filename,
_Out_ struct _finddata32_t _FindData 
)

◆ _findnext()

_CRTIMP int __cdecl _findnext ( intptr_t  _FindHandle,
struct _finddata_t _FindData 
)

◆ _findnext32()

_Check_return_ _CRTIMP int __cdecl _findnext32 ( _In_ intptr_t  _FindHandle,
_Out_ struct _finddata32_t _FindData 
)

◆ _get_osfhandle()

◆ _getcwd()

_Check_return_ _Ret_opt_z_ _CRTIMP char *__cdecl _getcwd ( _Out_writes_opt_(_SizeInBytes) char _DstBuf,
_In_ int  _SizeInBytes 
)

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

◆ _isatty()

_Check_return_ _CRTIMP int __cdecl _isatty ( _In_ int  _FileHandle)

Referenced by GetPass(), and gl_init().

◆ _locking()

_CRTIMP int __cdecl _locking ( _In_ int  _FileHandle,
_In_ int  _LockMode,
_In_ long  _NumOfBytes 
)

◆ _lseek()

◆ _mktemp()

_Check_return_ _CRTIMP char *__cdecl _mktemp ( _Inout_z_ char _TemplateName)

Referenced by test_mktemp().

◆ _open()

_CRTIMP int __cdecl _open ( const char _Filename,
int  _OpenFlag,
  ... 
)

Definition at line 2001 of file file.c.

2002{
2003 va_list ap;
2004
2005 if (flags & _O_CREAT)
2006 {
2007 int pmode;
2008 va_start(ap, flags);
2009 pmode = va_arg(ap, int);
2010 va_end(ap);
2011 return _sopen( path, flags, _SH_DENYNO, pmode );
2012 }
2013 else
2014 return _sopen( path, flags, _SH_DENYNO);
2015}
char * va_list
Definition: acmsvcex.h:78
#define va_end(ap)
Definition: acmsvcex.h:90
#define va_start(ap, A)
Definition: acmsvcex.h:91
#define va_arg(ap, T)
Definition: acmsvcex.h:89
#define _O_CREAT
Definition: cabinet.h:46
GLbitfield flags
Definition: glext.h:7161
int CDECL _sopen(const char *path, int oflags, int shflags,...)
Definition: file.c:1978
#define _SH_DENYNO
Definition: share.h:17
void int int ULONGLONG int va_list * ap
Definition: winesup.h:36

Referenced by _creat(), compat_open(), install_from_unix_file(), main(), rd_open_file(), rw(), test_chsize(), test_file_write_read(), test_get_osfhandle(), test_setmode(), and tmpfile().

◆ _open_osfhandle()

_CRTIMP int __cdecl _open_osfhandle ( _In_ intptr_t  _OSFileHandle,
_In_ int  _Flags 
)

◆ _pipe()

_Check_return_ _CRTIMP int __cdecl _pipe ( _Inout_updates_(2) int _PtHandles,
_In_ unsigned int  _PipeSize,
_In_ int  _TextMode 
)

Referenced by fork_helper(), test_pipes(), and test_stat().

◆ _read()

_Check_return_ _CRTIMP int __cdecl _read ( _In_ int  _FileHandle,
_Out_writes_bytes_(_MaxCharCount) void _DstBuf,
_In_ unsigned int  _MaxCharCount 
)

◆ _setmode()

_Check_return_ _CRTIMP int __cdecl _setmode ( _In_ int  _FileHandle,
_In_ int  _Mode 
)

◆ _sopen()

_CRTIMP int __cdecl _sopen ( const char _Filename,
int  _OpenFlag,
int  _ShareFlag,
  ... 
)

Definition at line 1978 of file file.c.

1979{
1980 int pmode;
1981 int fd;
1982
1983 if (oflags & _O_CREAT)
1984 {
1985 va_list ap;
1986
1987 va_start(ap, shflags);
1988 pmode = va_arg(ap, int);
1989 va_end(ap);
1990 }
1991 else
1992 pmode = 0;
1993
1994 _sopen_s(&fd, path, oflags, shflags, pmode);
1995 return fd;
1996}
int CDECL _sopen_s(int *fd, const char *path, int oflags, int shflags, int pmode)
Definition: file.c:1962
static int fd
Definition: io.c:51

Referenced by _open(), and test_get_osfhandle().

◆ _sopen_s()

_Check_return_wat_ _CRTIMP errno_t __cdecl _sopen_s ( _Out_ int _FileHandle,
_In_z_ const char _Filename,
_In_ int  _OpenFlag,
_In_ int  _ShareFlag,
_In_ int  _PermissionMode 
)

◆ _tell()

_Check_return_ _CRTIMP long __cdecl _tell ( _In_ int  _FileHandle)

Referenced by test__creat().

◆ _umask()

_CRTIMP int __cdecl _umask ( _In_ int  _Mode)

◆ _unlink()

◆ _unlock_fhandle()

void __cdecl _unlock_fhandle ( _In_ int  _Filehandle)

◆ _waccess()

_Check_return_ _CRTIMP int __cdecl _waccess ( _In_z_ const wchar_t _Filename,
_In_ int  _AccessMode 
)

◆ _wchmod()

_Check_return_ _CRTIMP int __cdecl _wchmod ( _In_z_ const wchar_t _Filename,
_In_ int  _Mode 
)

◆ _wcreat()

_Check_return_ _CRTIMP int __cdecl _wcreat ( _In_z_ const wchar_t _Filename,
_In_ int  _PermissionMode 
)

◆ _wfindfirst32()

_Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst32 ( _In_z_ const wchar_t _Filename,
_Out_ struct _wfinddata32_t _FindData 
)

◆ _wfindnext32()

_Check_return_ _CRTIMP int __cdecl _wfindnext32 ( _In_ intptr_t  _FindHandle,
_Out_ struct _wfinddata32_t _FindData 
)

◆ _wmktemp()

_CRTIMP wchar_t *__cdecl _wmktemp ( _Inout_z_ wchar_t _TemplateName)

◆ _wopen()

_CRTIMP int __cdecl _wopen ( const wchar_t _Filename,
int  _OpenFlag,
  ... 
)

Definition at line 2020 of file file.c.

2021{
2022 va_list ap;
2023
2024 if (flags & _O_CREAT)
2025 {
2026 int pmode;
2027 va_start(ap, flags);
2028 pmode = va_arg(ap, int);
2029 va_end(ap);
2030 return _wsopen( path, flags, _SH_DENYNO, pmode );
2031 }
2032 else
2033 return _wsopen( path, flags, _SH_DENYNO);
2034}
int CDECL _wsopen(const wchar_t *path, int oflags, int shflags,...)
Definition: file.c:1939

Referenced by compat_open(), and gz_open().

◆ _wrename()

_Check_return_ _CRTIMP int __cdecl _wrename ( _In_z_ const wchar_t _NewFilename,
_In_z_ const wchar_t _OldFilename 
)

◆ _write()

◆ _wsopen()

_CRTIMP int __cdecl _wsopen ( const wchar_t _Filename,
int  _OpenFlag,
int  _ShareFlag,
  ... 
)

Definition at line 1939 of file file.c.

1940{
1941 int pmode;
1942 int fd;
1943
1944 if (oflags & _O_CREAT)
1945 {
1947
1948 __ms_va_start(ap, shflags);
1949 pmode = va_arg(ap, int);
1950 __ms_va_end(ap);
1951 }
1952 else
1953 pmode = 0;
1954
1955 _wsopen_s(&fd, path, oflags, shflags, pmode);
1956 return fd;
1957}
int CDECL _wsopen_s(int *fd, const wchar_t *path, int oflags, int shflags, int pmode)
Definition: file.c:1778
#define __ms_va_list
Definition: windef.h:456
#define __ms_va_end(list)
Definition: windef.h:458
#define __ms_va_start(list, arg)
Definition: windef.h:457

◆ _wsopen_s()

_Check_return_wat_ _CRTIMP errno_t __cdecl _wsopen_s ( _Out_ int _FileHandle,
_In_z_ const wchar_t _Filename,
_In_ int  _OpenFlag,
_In_ int  _ShareFlag,
_In_ int  _PermissionFlag 
)

◆ _wunlink()

_Check_return_ _CRTIMP int __cdecl _wunlink ( _In_z_ const wchar_t _Filename)

◆ access()

_Check_return_ _CRTIMP int __cdecl access ( _In_z_ const char _Filename,
_In_ int  _AccessMode 
)

◆ chdir()

◆ chmod()

_Check_return_ _CRTIMP int __cdecl chmod ( _In_z_ const char _Filename,
_In_ int  _AccessMode 
)

Referenced by recvrequest().

◆ chsize()

_Check_return_ _CRTIMP int __cdecl chsize ( _In_ int  _FileHandle,
_In_ long  _Size 
)

◆ close()

_Check_return_opt_ _CRTIMP int __cdecl close ( _In_ int  _FileHandle)

◆ creat()

_Check_return_ _CRTIMP int __cdecl creat ( _In_z_ const char _Filename,
_In_ int  _PermissionMode 
)

◆ dup()

_Check_return_ _CRTIMP int __cdecl dup ( _In_ int  _FileHandle)

◆ dup2()

_Check_return_ _CRTIMP int __cdecl dup2 ( _In_ int  _FileHandleSrc,
_In_ int  _FileHandleDst 
)

◆ eof()

◆ filelength()

_Check_return_ _CRTIMP long __cdecl filelength ( _In_ int  _FileHandle)

◆ getcwd()

◆ getlogin()

char * getlogin ( void  )

◆ isatty()

_Check_return_ _CRTIMP int __cdecl isatty ( _In_ int  _FileHandle)

◆ locking()

_Check_return_ _CRTIMP int __cdecl locking ( _In_ int  _FileHandle,
_In_ int  _LockMode,
_In_ long  _NumOfBytes 
)

◆ lseek()

_Check_return_opt_ _CRTIMP long __cdecl lseek ( _In_ int  _FileHandle,
_In_ long  _Offset,
_In_ int  _Origin 
)

◆ mkdir()

◆ mktemp()

_CRTIMP char *__cdecl mktemp ( _Inout_z_ char _TemplateName)

Referenced by remglob(), and select_file_name().

◆ open()

_Check_return_ _CRTIMP int __cdecl open ( _In_z_ const char _Filename,
_In_ int  _OpenFlag,
  ... 
)

◆ read()

_CRTIMP int __cdecl read ( _In_ int  _FileHandle,
_Out_writes_bytes_(_MaxCharCount) void _DstBuf,
_In_ unsigned int  _MaxCharCount 
)

◆ remove()

_Check_return_ int __cdecl remove ( _In_z_ const char _Filename)

◆ rename()

◆ rmdir()

◆ setmode()

_Check_return_ _CRTIMP int __cdecl setmode ( _In_ int  _FileHandle,
_In_ int  _Mode 
)

◆ sopen()

_CRTIMP int __cdecl sopen ( const char _Filename,
int  _OpenFlag,
int  _ShareFlag,
  ... 
)

◆ tell()

_Check_return_ _CRTIMP long __cdecl tell ( _In_ int  _FileHandle)

◆ umask()

_CRTIMP int __cdecl umask ( _In_ int  _Mode)

Referenced by _umask(), and SpoolX().

◆ unlink()

_Check_return_ _CRTIMP int __cdecl unlink ( _In_z_ const char _Filename)

◆ write()

_Check_return_ _CRTIMP int __cdecl write ( _In_ int  _Filehandle,
_In_reads_bytes_(_MaxCharCount) const void _Buf,
_In_ unsigned int  _MaxCharCount 
)