Changes in uspace/app/sbi/src/os/posix.c [b7fd2a0:cf13b17] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/os/posix.c
rb7fd2a0 rcf13b17 114 114 * @return Zero if equal, nonzero if not equal 115 115 */ 116 errno_t os_str_cmp(const char *a, const char *b)116 int os_str_cmp(const char *a, const char *b) 117 117 { 118 118 return strcmp(a, b); … … 147 147 * EIO on decoding error. 148 148 */ 149 errno_t os_str_get_char(const char *str, int index, int *out_char)149 int os_str_get_char(const char *str, int index, int *out_char) 150 150 { 151 151 size_t len; … … 193 193 * @param ptr Place to store pointer to new string. 194 194 */ 195 errno_t os_input_line(const char *prompt, char **ptr)195 int os_input_line(const char *prompt, char **ptr) 196 196 { 197 197 printf("%s", prompt); … … 214 214 * Command is present just one, not duplicated. 215 215 */ 216 errno_t os_exec(char *const cmd[])216 int os_exec(char *const cmd[]) 217 217 { 218 218 pid_t pid;
Note:
See TracChangeset
for help on using the changeset viewer.