Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/thread.c

    r582a0b8 rb7fd2a0  
    105105 * @return Zero on success or a code from @ref errno.h on failure.
    106106 */
    107 int thread_create(void (* function)(void *), void *arg, const char *name,
     107errno_t thread_create(void (* function)(void *), void *arg, const char *name,
    108108    thread_id_t *tid)
    109109{
     
    132132        uarg->uspace_uarg = uarg;
    133133       
    134         int rc = __SYSCALL4(SYS_THREAD_CREATE, (sysarg_t) uarg,
     134        errno_t rc = (errno_t) __SYSCALL4(SYS_THREAD_CREATE, (sysarg_t) uarg,
    135135            (sysarg_t) name, (sysarg_t) str_size(name), (sysarg_t) tid);
    136136       
     
    178178 * @return Thread exit status.
    179179 */
    180 int thread_join(thread_id_t thread)
     180errno_t thread_join(thread_id_t thread)
    181181{
    182182        return 0;
Note: See TracChangeset for help on using the changeset viewer.