File: vfs.h

package info (click to toggle)
dietlibc 0.12-2.5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,620 kB
  • ctags: 12,123
  • sloc: ansic: 32,297; asm: 5,648; makefile: 428; perl: 62; sh: 61
file content (27 lines) | stat: -rw-r--r-- 443 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _SYS_VFS_H
#define _SYS_VFS_H

#include <sys/cdefs.h>
#include <sys/types.h>

typedef struct {
	int     __val[2];
} __kernel_fsid_t;

struct statfs {
	long f_type;
	long f_bsize;
	long f_blocks;
	long f_bfree;
	long f_bavail;
	long f_files;
	long f_ffree;
	__kernel_fsid_t f_fsid;
	long f_namelen;
	long f_spare[6];
};

int statfs(const char *path, struct statfs *buf) __THROW;
int fstatfs(int fd, struct statfs *buf) __THROW;

#endif