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
/
lseek.c
1
#include <windows.h>
2
#include <msvcrt/io.h>
3
#include <msvcrt/internal/file.h>
4
5
6
long
_lseek
(
int
_fildes
,
long
_offset
,
int
_whence
)
7
{
8
return
(
SetFilePointer
((
HANDLE
)
filehnd
(
_fildes
),
_offset
,
NULL
,
_whence
));
9
}