Changes in uspace/lib/posix/unistd.c [823a929:72ec8cc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.c
r823a929 r72ec8cc 38 38 #include "internal/common.h" 39 39 #include "unistd.h" 40 #include <task.h>41 40 42 41 /* Array of environment variable strings (NAME=VALUE). */ … … 44 43 45 44 /** 46 * Dummy function. Always returns false, because there is no easy way to find 47 * out under HelenOS. 48 * 45 * 49 46 * @param fd 50 * @return Always false.47 * @return 51 48 */ 52 49 int posix_isatty(int fd) 53 50 { 54 return false; 51 // TODO 52 not_implemented(); 55 53 } 56 54 … … 62 60 { 63 61 return getpagesize(); 64 }65 66 /**67 *68 * @return69 */70 posix_pid_t posix_getpid(void)71 {72 return task_get_id();73 62 } 74 63 … … 116 105 } 117 106 118 /**119 *120 * @param path121 * @param name122 * @return123 */124 long posix_pathconf(const char *path, int name)125 {126 // TODO: low priority, just a compile-time dependency of binutils127 not_implemented();128 }129 130 /**131 *132 * @return133 */134 posix_pid_t posix_fork(void)135 {136 // TODO: low priority, just a compile-time dependency of binutils137 not_implemented();138 }139 140 /**141 *142 * @param path143 * @param argv144 * @return145 */146 int posix_execv(const char *path, char *const argv[])147 {148 // TODO: low priority, just a compile-time dependency of binutils149 not_implemented();150 }151 152 /**153 *154 * @param file155 * @param argv156 * @return157 */158 int posix_execvp(const char *file, char *const argv[])159 {160 // TODO: low priority, just a compile-time dependency of binutils161 not_implemented();162 }163 164 /**165 *166 * @param fildes167 * @return168 */169 int posix_pipe(int fildes[2])170 {171 // TODO: low priority, just a compile-time dependency of binutils172 not_implemented();173 }174 175 107 /** @} 176 108 */
Note:
See TracChangeset
for help on using the changeset viewer.