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


Ignore:
Timestamp:
2017-03-30T18:58:28Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
23a0368
Parents:
fe91f66
Message:

Rename statfs() to vfs_statfs_path() and provide relativized vfs_statfs()

File:
1 edited

Legend:

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

    rfe91f66 rb5b5d84  
    4949};
    5050
     51struct statfs {
     52        char fs_name[FS_NAME_MAXLEN + 1];
     53        uint32_t f_bsize;    /* fundamental file system block size */
     54        uint64_t f_blocks;   /* total data blocks in file system */
     55        uint64_t f_bfree;    /* free blocks in fs */
     56};
     57
    5158extern char *vfs_absolutize(const char *, size_t *);
    5259
     
    7279extern int vfs_root(void);
    7380extern void vfs_root_set(int);
     81extern int vfs_statfs(int, struct statfs *);
     82extern int vfs_statfs_path(const char *, struct statfs *);
    7483
    7584int vfs_mount(int, const char *, service_id_t, const char *, unsigned, unsigned, int *);
Note: See TracChangeset for help on using the changeset viewer.