git.annexia.org
/
wrappi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Separate local and remote functions.
[wrappi.git]
/
APIs
/
filesize.api
1
entry_point
2
off_t filesize (pathname path)
3
<<
4
struct stat buf;
5
6
if (stat (path, &buf) == -1) {
7
error_errno ("stat: %s", path);
8
return -1;
9
}
10
11
return buf.st_size;
12
>>
13
14
;;
15
16
(*
17
mknod_block
18
mkfifo
19
mknod_socket
20
*)