1 /*
2 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
3 * economic rights: Technische Universität Dresden (Germany)
4 * This file is part of TUD:OS and distributed under the terms of the
5 * GNU Lesser General Public License 2.1.
6 * Please see the COPYING-LGPL-2.1 file for details.
7 */
8
9 #include <unistd.h>
10 #include <stdio.h>
11 #include <errno.h>
12
13
14 char *tmpnam(char *s);
tmpnam(char * s)15 char *tmpnam(char *s)
16 {
17 (void)s;
18 printf("%s: unimplemented\n", __func__);
19 return 0;
20 }
21
22 #include <sys/vfs.h>
23
statfs(const char * path,struct statfs * buf)24 int statfs(const char *path, struct statfs *buf)
25 {
26 printf("%s(%s, %p): unimplemented\n", __func__, path, buf);
27 errno = ENOENT;
28 return -1;
29 }
30
fstatfs(int fd,struct statfs * buf)31 int fstatfs(int fd, struct statfs *buf)
32 {
33 printf("%s(%d, %p): unimplemented\n", __func__, fd, buf);
34 errno = ENOENT;
35 return -1;
36 }
37
38