Changes in uspace/lib/c/generic/loader.c [01900b6:2443ad8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/loader.c
r01900b6 r2443ad8 46 46 #include "private/loader.h" 47 47 48 /** Spawn a new program loader. 49 * 50 * Spawn a new program loader task. The loader then independetly 51 * connects to the naming service. 48 /** Connect to a new program loader. 49 * 50 * Spawns a new program loader task and returns the connection structure. 52 51 * 53 52 * @param name Symbolic name to set on the newly created task. 54 53 * 55 54 * @return Error code. 56 *57 55 */ 58 56 errno_t loader_spawn(const char *name) … … 62 60 } 63 61 64 /** Connect to a program loader. 65 * 66 * @param rc Placeholder for return code. Unused if NULL. 67 * 68 * @return Loader structure. 69 * 70 */ 71 loader_t *loader_connect(errno_t *rc) 62 loader_t *loader_connect(void) 72 63 { 73 64 loader_t *ldr = malloc(sizeof(loader_t)); … … 76 67 77 68 async_sess_t *sess = 78 service_connect_blocking(SERVICE_LOADER, INTERFACE_LOADER, 0 , rc);69 service_connect_blocking(SERVICE_LOADER, INTERFACE_LOADER, 0); 79 70 if (sess == NULL) { 80 71 free(ldr);
Note:
See TracChangeset
for help on using the changeset viewer.