PatchworkOS
Loading...
Searching...
No Matches
argv.c File Reference
#include <kernel/proc/argv.h>
#include <kernel/config.h>
#include <stdlib.h>
#include <string.h>
#include <sys/io.h>

Go to the source code of this file.

Functions

uint64_t argv_init (argv_t *argv, const char **src)
 Initializes an argument vector from a source array of strings.
 
void argv_deinit (argv_t *argv)
 Deinitializes an argument vector, freeing any allocated memory.
 
const char * argv_get_strings (const argv_t *argv, uint64_t *length)
 Retrieves a pointer to the start of the first string.