Changeset 852b801 in mainline for uspace/lib/libc/include
- Timestamp:
- 2009-06-28T18:59:02Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 75160a6
- Parents:
- 4198f9c3
- Location:
- uspace/lib/libc/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/ipc/vfs.h
r4198f9c3 r852b801 64 64 VFS_IN_SEEK, 65 65 VFS_IN_TRUNCATE, 66 VFS_IN_FSTAT, 66 67 VFS_IN_CLOSE, 67 68 VFS_IN_MOUNT, … … 73 74 VFS_IN_UNLINK, 74 75 VFS_IN_RENAME, 76 VFS_IN_STAT, 75 77 VFS_IN_NODE 76 78 } vfs_in_request_t; … … 87 89 VFS_OUT_DEVICE, 88 90 VFS_OUT_SYNC, 91 VFS_OUT_STAT, 89 92 VFS_OUT_LOOKUP, 90 93 VFS_OUT_DESTROY, -
uspace/lib/libc/include/sys/stat.h
r4198f9c3 r852b801 37 37 38 38 #include <sys/types.h> 39 #include <bool.h> 40 #include <ipc/vfs.h> 41 #include <ipc/devmap.h> 39 42 43 struct stat { 44 fs_handle_t fs_handle; 45 dev_handle_t dev_handle; 46 fs_index_t index; 47 unsigned lnkcnt; 48 bool is_file; 49 off_t size; 50 union { 51 struct { 52 dev_handle_t device; 53 } devfs_stat; 54 }; 55 }; 56 57 extern int fstat(int, struct stat *); 40 58 extern int mkdir(const char *, mode_t); 41 59
Note:
See TracChangeset
for help on using the changeset viewer.