Changeset 5a6cc679 in mainline for uspace/app/sbi/src/os/posix.c


Ignore:
Timestamp:
2018-01-31T02:21:24Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/os/posix.c

    r132ab5d1 r5a6cc679  
    114114 * @return      Zero if equal, nonzero if not equal
    115115 */
    116 int os_str_cmp(const char *a, const char *b)
     116errno_t os_str_cmp(const char *a, const char *b)
    117117{
    118118        return strcmp(a, b);
     
    147147 *                      EIO on decoding error.
    148148 */
    149 int os_str_get_char(const char *str, int index, int *out_char)
     149errno_t os_str_get_char(const char *str, int index, int *out_char)
    150150{
    151151        size_t len;
     
    193193 * @param ptr   Place to store pointer to new string.
    194194 */
    195 int os_input_line(const char *prompt, char **ptr)
     195errno_t os_input_line(const char *prompt, char **ptr)
    196196{
    197197        printf("%s", prompt);
     
    214214 *              Command is present just one, not duplicated.
    215215 */
    216 int os_exec(char *const cmd[])
     216errno_t os_exec(char *const cmd[])
    217217{
    218218        pid_t pid;
Note: See TracChangeset for help on using the changeset viewer.