Changeset eca9fd0 in mainline
- Timestamp:
- 2017-03-07T17:00:09Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 48178b56
- Parents:
- 930f5c3
- git-author:
- Jiri Zarevucky <zarevucky.jiri@…> (2017-03-07 17:00:09)
- git-committer:
- Jakub Jermar <jakub@…> (2017-03-07 17:00:09)
- Location:
- uspace/lib/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/vfs.c
r930f5c3 reca9fd0 116 116 } 117 117 118 int vfs_lookup(const char *path) 119 { 120 size_t size; 121 char *p = vfs_absolutize(path, &size); 122 if (!p) { 123 return ENOMEM; 124 } 125 int rc = _vfs_walk(-1, p, 0); 126 free(p); 127 return rc; 128 } 129 118 130 int _vfs_open(int fildes, int mode) 119 131 { -
uspace/lib/c/include/vfs/vfs.h
r930f5c3 reca9fd0 65 65 extern int _vfs_walk(int parent, const char *path, int flags); 66 66 extern int _vfs_open(int file, int mode); 67 extern int vfs_lookup(const char *path); 67 68 68 69 extern int vfs_pass_handle(async_exch_t *vfs_exch, int file, async_exch_t *exch);
Note:
See TracChangeset
for help on using the changeset viewer.