repo.or.cz
/
io
/
quag.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sample: cleaning up Inheritance
[io/quag.git]
/
libs
/
basekit
/
source
/
PortableTruncate.h
blob
f43c2662d20c47ff3c5b1932c62c512c0a4ff7e9
1
2
#ifdef __cplusplus
3
extern
"C"
{
4
#endif
5
6
7
#ifdef _WIN32
8
#include
"Common.h"
9
10
BASEKIT_API
int
truncate
(
const char
*
path
,
long
length
);
11
12
#else
13
14
#include <unistd.h>
15
16
#endif
17
18
19
#ifdef __cplusplus
20
}
21
#endif