Changeset 823a929 in mainline for uspace/lib/posix/unistd.c
- Timestamp:
- 2011-06-23T23:57:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e64b55a
- Parents:
- da084d9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.c
rda084d9 r823a929 38 38 #include "internal/common.h" 39 39 #include "unistd.h" 40 #include <task.h> 40 41 41 42 /* Array of environment variable strings (NAME=VALUE). */ … … 61 62 { 62 63 return getpagesize(); 64 } 65 66 /** 67 * 68 * @return 69 */ 70 posix_pid_t posix_getpid(void) 71 { 72 return task_get_id(); 63 73 } 64 74 … … 106 116 } 107 117 118 /** 119 * 120 * @param path 121 * @param name 122 * @return 123 */ 124 long posix_pathconf(const char *path, int name) 125 { 126 // TODO: low priority, just a compile-time dependency of binutils 127 not_implemented(); 128 } 129 130 /** 131 * 132 * @return 133 */ 134 posix_pid_t posix_fork(void) 135 { 136 // TODO: low priority, just a compile-time dependency of binutils 137 not_implemented(); 138 } 139 140 /** 141 * 142 * @param path 143 * @param argv 144 * @return 145 */ 146 int posix_execv(const char *path, char *const argv[]) 147 { 148 // TODO: low priority, just a compile-time dependency of binutils 149 not_implemented(); 150 } 151 152 /** 153 * 154 * @param file 155 * @param argv 156 * @return 157 */ 158 int posix_execvp(const char *file, char *const argv[]) 159 { 160 // TODO: low priority, just a compile-time dependency of binutils 161 not_implemented(); 162 } 163 164 /** 165 * 166 * @param fildes 167 * @return 168 */ 169 int posix_pipe(int fildes[2]) 170 { 171 // TODO: low priority, just a compile-time dependency of binutils 172 not_implemented(); 173 } 174 108 175 /** @} 109 176 */
Note:
See TracChangeset
for help on using the changeset viewer.