1 /* vi: set sw=4 ts=4: */
5 * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
7 * GNU Library General Public License (LGPL) version 2 or later.
12 #include <sys/param.h>
15 #define __NR___syscall_statfs __NR_statfs
16 static inline _syscall2(int, __syscall_statfs,
17 const char *, path, struct statfs *, buf);
19 int statfs(const char *path, struct statfs * buf)
21 return __syscall_statfs(path, buf);
23 libc_hidden_proto(statfs)
24 libc_hidden_def(statfs)