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


Ignore:
Timestamp:
2017-03-31T19:57:38Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
80743a1
Parents:
a56cef9
Message:

Introduce vfs_link_path() and replace mkdir() with it

File:
1 edited

Legend:

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

    ra56cef9 r6e5562a  
    4949};
    5050
     51typedef enum {
     52        KIND_FILE,
     53        KIND_DIRECTORY,
     54} vfs_file_kind_t;
     55
     56
    5157struct stat {
    5258        fs_handle_t fs_handle;
     
    8894
    8995extern int vfs_clone(int, int, bool);
     96extern int vfs_link(int, const char *, vfs_file_kind_t);
     97extern int vfs_link_path(const char *, vfs_file_kind_t);
     98extern int vfs_resize(int, aoff64_t);
    9099extern int vfs_root(void);
    91100extern void vfs_root_set(int);
    92 extern int vfs_resize(int, aoff64_t);
    93101extern int vfs_stat(int, struct stat *);
    94102extern int vfs_stat_path(const char *, struct stat *);
Note: See TracChangeset for help on using the changeset viewer.