Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <errno.h>
  3. #include <sys/vfs.h>
  4. #include <ctype.h>
  5.  
  6. int statfs(const char *path, struct statfs *buf)
  7. {
  8.   buf->f_bavail = 0xFFFFFFFF;
  9.   buf->f_bfree = 0xFFFFFFFF;
  10.   buf->f_blocks = 0xFFFF;
  11.   buf->f_bsize = 512;
  12.   buf->f_ffree = 0xFFFF;
  13.   buf->f_files = 0xFFFF;
  14.   buf->f_type = 0;
  15.   buf->f_fsid[0] = 0;
  16.   buf->f_fsid[1] = MOUNT_UFS;
  17.   buf->f_magic = FS_MAGIC;
  18.   return 0;
  19. }
  20.