projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added binary and unicode file i/o support to msvcrt.
[reactos.git]
/
reactos
/
lib
/
msvcrt
/
io
/
create.c
1
#include <msvcrt/io.h>
2
#include <msvcrt/fcntl.h>
3
4
#define NDEBUG
5
#include <msvcrt/msvcrtdbg.h>
6
7
8
int
_creat
(
const char
*
filename
,
int
mode
)
9
{
10
DPRINT
(
"_creat('%s', mode %x)
\n
"
,
filename
,
mode
);
11
return
_open
(
filename
,
_O_CREAT
|
_O_TRUNC
,
mode
);
12
}