Changeset 39a7bfa in mainline
- Timestamp:
- 2011-06-17T02:19:15Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba7b753
- Parents:
- 59f799b
- Location:
- uspace/lib/posix/sys
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/sys/stat.c
r59f799b r39a7bfa 37 37 38 38 #include "stat.h" 39 #include "../common.h" 39 40 #include <mem.h> 40 41 … … 82 83 83 84 /** 85 * 86 * @param path 87 * @param st 88 * @return 89 */ 90 int posix_lstat(const char *restrict path, struct posix_stat *restrict st) 91 { 92 // TODO 93 not_implemented(); 94 } 95 96 /** 84 97 * 85 98 * @param path … … 98 111 } 99 112 113 /** 114 * 115 * @param path 116 * @param mode 117 * @return 118 */ 119 int posix_chmod(const char *path, mode_t mode) 120 { 121 // TODO 122 not_implemented(); 123 } 124 125 /** 126 * 127 * @param mask 128 * @return 129 */ 130 mode_t posix_umask(mode_t mask) 131 { 132 // TODO 133 not_implemented(); 134 } 135 100 136 /** @} 101 137 */ -
uspace/lib/posix/sys/stat.h
r59f799b r39a7bfa 128 128 129 129 extern int posix_fstat(int fd, struct posix_stat *st); 130 extern int posix_stat(const char *path, struct posix_stat *st); 130 extern int posix_lstat(const char *restrict path, struct posix_stat *restrict st); 131 extern int posix_stat(const char *restrict path, struct posix_stat *restrict st); 132 extern int posix_chmod(const char *path, mode_t mode); 133 extern mode_t posix_umask(mode_t mask); 131 134 132 135 #ifndef LIBPOSIX_INTERNAL 133 136 #define fstat posix_fstat 137 #define lstat posix_lstat 134 138 #define stat posix_stat 139 #define chmod posix_chmod 140 #define umask posix_umask 135 141 #endif 136 142
Note:
See TracChangeset
for help on using the changeset viewer.