summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.syscall/statfs.c
blob: ea33193b8d6a93d2c3bc7bed9789cd66e4f08fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* COVERAGE: fstatfs statfs ustat statfs64 */
#include <sys/types.h>
#include <unistd.h>
#include <ustat.h>
#include <sys/vfs.h>

int main()
{
  
  ustat(42, (struct ustat *)0x12345678);
  // ustat (42, 0x0*12345678) = 

  statfs("abc", (struct statfs *)0x12345678);
  // statfs ("abc", 0x0*12345678) =

  fstatfs(77, (struct statfs *)0x12345678);
  // fstatfs (77, 0x0*12345678) =

  return 0;
}