PatchworkOS  3984a1d
A non-POSIX operating system.
Loading...
Searching...
No Matches
main.c File Reference
#include "interactive.h"
#include "pipeline.h"
#include <errno.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/io.h>
#include <sys/proc.h>
Include dependency graph for main.c:

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[])
 
void execute_command (const char *cmdline)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ cmdline_read()

static uint64_t cmdline_read ( char buffer,
uint64_t  size 
)
static

Definition at line 12 of file main.c.

Here is the call graph for this function:

◆ join_args()

static void join_args ( char buffer,
uint64_t  size,
int  argc,
char argv[] 
)
static

Definition at line 35 of file main.c.

Here is the caller graph for this function:

◆ execute_command()

void execute_command ( const char cmdline)

Definition at line 57 of file main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 71 of file main.c.

Here is the call graph for this function: