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