chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PATCH] add comment in wait_for_sysfs to explain the structure better.
[elogind.git]
/
klibc
/
klibc
/
fstatfs.c
1
/*
2
* fstatfs.c
3
*
4
* On architectures which do fstatfs64, wrap the system call
5
*/
6
7
#include <sys/syscall.h>
8
#include <sys/vfs.h>
9
10
#ifdef __NR_fstatfs64
11
12
extern int __fstatfs64(int, size_t, struct statfs *);
13
14
int fstatfs(int fd, struct statfs *buf)
15
{
16
return __fstatfs64(fd, sizeof *buf, buf);
17
}
18
19
#endif