statfs(2)

Sergey Matveychuk sem at semmy.ru
Fri Apr 18 16:12:07 UTC 2014


Hi.

Tell me please, why f_bfree is unsigned and f_bavail is signed?

struct statfs {
  ...
  uint64_t f_bfree;             /* free blocks in filesystem */
  int64_t  f_bavail;            /* free blocks avail to non-superuser */
  ...


More information about the freebsd-hackers mailing list