Changes in uspace/lib/posix/unistd.c [72ec8cc:823a929] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.c
r72ec8cc 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). */ … … 43 44 44 45 /** 45 * 46 * Dummy function. Always returns false, because there is no easy way to find 47 * out under HelenOS. 48 * 46 49 * @param fd 47 * @return 50 * @return Always false. 48 51 */ 49 52 int posix_isatty(int fd) 50 53 { 51 // TODO 52 not_implemented(); 54 return false; 53 55 } 54 56 … … 60 62 { 61 63 return getpagesize(); 64 } 65 66 /** 67 * 68 * @return 69 */ 70 posix_pid_t posix_getpid(void) 71 { 72 return task_get_id(); 62 73 } 63 74 … … 105 116 } 106 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 107 175 /** @} 108 176 */
Note:
See TracChangeset
for help on using the changeset viewer.