Changeset 0485135 in mainline for uspace/lib/net/adt/module_map.c
- Timestamp:
- 2010-11-05T19:53:00Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0b81cad0
- Parents:
- a66e2993
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/adt/module_map.c
ra66e2993 r0485135 132 132 task_id_t spawn(const char *fname) 133 133 { 134 const char *argv[2];135 task_id_t res;134 task_id_t id; 135 int rc; 136 136 137 argv[0] = fname;138 argv[1] = NULL;139 res = task_spawn(fname, argv, NULL);137 rc = task_spawnl(&id, fname, fname, NULL); 138 if (rc != EOK) 139 return 0; 140 140 141 return res;141 return id; 142 142 } 143 143
Note:
See TracChangeset
for help on using the changeset viewer.