ReactOS 0.4.16-dev-852-gcfcc8d8
unlink.cpp File Reference
#include <corecrt_internal.h>
#include <stdio.h>
#include <corecrt_internal_win32_buffer.h>
Include dependency graph for unlink.cpp:

Go to the source code of this file.

Functions

int __cdecl remove (char const *const path)
 
int __cdecl _unlink (char const *const path)
 

Function Documentation

◆ _unlink()

int __cdecl _unlink ( char const *const  path)

Definition at line 32 of file unlink.cpp.

33{
34 return remove(path);
35}
int remove
Definition: msacm.c:1366

◆ remove()

int __cdecl remove ( char const *const  path)

Definition at line 14 of file unlink.cpp.

15{
16 if (path == nullptr)
17 return _wremove(nullptr);
18
20
22
23 if (cvt != 0) {
24 return -1;
25 }
26
27 return _wremove(wide_path.data());
28}
errno_t __acrt_mbs_to_wcs_cp(char const *const null_terminated_input_string, __crt_win32_buffer< wchar_t, ResizePolicy > &win32_buffer, unsigned int const code_page)
unsigned int __acrt_get_utf8_acp_compatibility_codepage()
static char * cvt(double arg, int ndigits, int *decpt, int *sign, char *buf, int eflag)
Definition: fcvtbuf.c:45
_Check_return_ _CRTIMP int __cdecl _wremove(_In_z_ const wchar_t *_Filename)
int errno_t
Definition: corecrt.h:615