Changes in uspace/app/sbi/src/os/helenos.c [074444f:23de644] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/os/helenos.c
r074444f r23de644 38 38 #include "os.h" 39 39 40 /** Path to executable file via which we have been invoked. */41 static char *ef_path;42 43 40 /* 44 41 * Using HelenOS-specific string API. … … 73 70 { 74 71 return str_cmp(a, b); 75 }76 77 /** Return number of characters in string. */78 size_t os_str_length(const char *str)79 {80 return str_length(str);81 72 } 82 73 … … 165 156 return EOK; 166 157 } 167 168 /** Store the executable file path via which we were executed. */169 void os_store_ef_path(char *path)170 {171 ef_path = path;172 }173 174 /** Return path to the Sysel library175 *176 * @return New string. Caller should deallocate it using @c free().177 */178 char *os_get_lib_path(void)179 {180 return os_str_dup("/src/sysel/lib");181 }
Note:
See TracChangeset
for help on using the changeset viewer.