#include <ipc/loader.h>
#include <ipc/services.h>
#include <ipc/ns.h>
#include <libc.h>
#include <task.h>
#include <str.h>
#include <stdlib.h>
#include <async.h>
#include <errno.h>
#include <vfs/vfs.h>
#include <loader/loader.h>
Go to the source code of this file.
Functions | |
void | loader_abort (loader_t *ldr) |
Cancel the loader session. | |
loader_t * | loader_connect (void) |
int | loader_get_task_id (loader_t *ldr, task_id_t *task_id) |
Get ID of the new task. | |
int | loader_load_program (loader_t *ldr) |
Instruct loader to load the program. | |
int | loader_run (loader_t *ldr) |
Instruct loader to execute the program. | |
int | loader_set_args (loader_t *ldr, const char *const argv[]) |
Set command-line arguments for the program. | |
int | loader_set_cwd (loader_t *ldr) |
Set current working directory for the loaded task. | |
int | loader_set_files (loader_t *ldr, fdi_node_t *const files[]) |
Set preset files for the program. | |
int | loader_set_pathname (loader_t *ldr, const char *path) |
Set pathname of the program to load. | |
int | loader_spawn (const char *name) |
Connect to a new program loader. |
Definition in file loader.c.