Search code examples
c++linuxquota

What C++ library can I use to check disk quotas on linux?


Is there an easy to use library that I can use for checking disk quotas? I need to modify a piece of software I have to implement this functionality.


Solution

  • Can't you just use quotactl?

    int quotactl(int cmd, const char *special, int id, caddr_t addr);