Rev 3983 | Rev 4470 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3983 | Rev 4256 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | * program. |
55 | * program. |
56 | * @return Zero on success or negative error code. |
56 | * @return Zero on success or negative error code. |
57 | */ |
57 | */ |
58 | int task_set_name(const char *name) |
58 | int task_set_name(const char *name) |
59 | { |
59 | { |
60 | return __SYSCALL2(SYS_TASK_SET_NAME, (sysarg_t) name, strlen(name)); |
60 | return __SYSCALL2(SYS_TASK_SET_NAME, (sysarg_t) name, str_size(name)); |
61 | } |
61 | } |
62 | 62 | ||
63 | /** Create a new task by running an executable from the filesystem. |
63 | /** Create a new task by running an executable from the filesystem. |
64 | * |
64 | * |
65 | * This is really just a convenience wrapper over the more complicated |
65 | * This is really just a convenience wrapper over the more complicated |