Changeset 66366470 in mainline for uspace/lib/c/include/vfs/vfs.h


Ignore:
Timestamp:
2013-07-04T18:55:31Z (11 years ago)
Author:
Manuele Conti <conti.ma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9dc6083
Parents:
d8b47eca
Message:

Start to implement df command line tool.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/vfs/vfs.h

    rd8b47eca r66366470  
    4444#include "vfs_mtab.h"
    4545
     46
    4647enum vfs_change_state_type {
    4748        VFS_PASS_HANDLE
    4849};
     50
     51struct statfs {
     52        short   f_type;     /* type of file system  */
     53        long    f_bsize;    /* fundamental file system block size */
     54        long    f_blocks;   /* total data blocks in file system */
     55        long    f_bfree;    /* free blocks in fs */
     56};
     57
    4958
    5059extern char *absolutize(const char *, size_t *);
     
    6170extern async_exch_t *vfs_exchange_begin(void);
    6271extern void vfs_exchange_end(async_exch_t *);
    63 
     72extern int statfs(const char *path, struct statfs *buf);
    6473#endif
    6574
Note: See TracChangeset for help on using the changeset viewer.