|
PatchworkOS
28a9544
A non-POSIX operating system.
|
#include "interactive.h"#include "pipeline.h"#include <stdbool.h>#include <stdio.h>#include <stdlib.h>#include <sys/io.h>#include <sys/proc.h>Go to the source code of this file.
Functions | |
| static uint64_t | cmdline_read (char *buffer, uint64_t size) |
| static void | join_args (char *buffer, uint64_t size, int argc, char *argv[]) |
| int | execute_command (const char *cmdline) |
| int | main (int argc, char *argv[]) |
| int execute_command | ( | const char * | cmdline | ) |
Definition at line 55 of file main.c.
References ERR, EXIT_FAILURE, EXIT_SUCCESS, pipeline_execute(), and pipeline_init().
Referenced by main().
|
static |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 65 of file main.c.
References execute_command(), interactive_shell(), join_args(), and MAX_PATH.