Changes in uspace/lib/c/generic/task.c [7b616e2:cde999a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/task.c
r7b616e2 rcde999a 45 45 #include <errno.h> 46 46 #include <ns.h> 47 #include < malloc.h>47 #include <stdlib.h> 48 48 #include <libc.h> 49 49 #include "private/ns.h" … … 69 69 * program. 70 70 * 71 * @return Zero on success or negativeerror code.71 * @return Zero on success or an error code. 72 72 */ 73 73 int task_set_name(const char *name) … … 75 75 assert(name); 76 76 77 return __SYSCALL2(SYS_TASK_SET_NAME, (sysarg_t) name, str_size(name));77 return (int) __SYSCALL2(SYS_TASK_SET_NAME, (sysarg_t) name, str_size(name)); 78 78 } 79 79 … … 82 82 * @param task_id ID of task to kill. 83 83 * 84 * @return Zero on success or negativeerror code.84 * @return Zero on success or an error code. 85 85 */ 86 86 … … 101 101 * @param argv Command-line arguments. 102 102 * 103 * @return Zero on success or negativeerror code.103 * @return Zero on success or an error code. 104 104 * 105 105 */ … … 143 143 * @param std_err File to use as stderr. 144 144 * 145 * @return Zero on success or negativeerror code.145 * @return Zero on success or an error code. 146 146 * 147 147 */ … … 249 249 * @param ap Command-line arguments. 250 250 * 251 * @return Zero on success or negativeerror code.251 * @return Zero on success or an error code. 252 252 * 253 253 */ … … 287 287 * @param ... Command-line arguments. 288 288 * 289 * @return Zero on success or negativeerror code.289 * @return Zero on success or an error code. 290 290 * 291 291 */ … … 369 369 assert(retval); 370 370 371 sysarg_t rc;371 int rc; 372 372 async_wait_for(wait->aid, &rc); 373 373
Note:
See TracChangeset
for help on using the changeset viewer.