Kintsugi OS 0.5.0
x86 Monolithic OS
Loading...
Searching...
No Matches
shell.c File Reference
#include "shell.h"
#include "../drivers/keyboard.h"
#include "../drivers/terminal.h"
#include "../fs/vfs.h"
#include "../kernel/log.h"
#include "../kklibc/kklibc.h"
#include "../user/process.h"

Functions

const shell_command_t * shell_command_at (u32 index)
 
int shell_parse (char *line, char **argv, int capacity)
 
int shell_last_status (void)
 
int shell_execute (char *line)
 
void shell_init (void)
 
void shell_poll (void)
 

Variables

static int last_status
 

Function Documentation

◆ shell_command_at()

const shell_command_t * shell_command_at ( u32  index)

◆ shell_execute()

int shell_execute ( char *  line)

◆ shell_init()

void shell_init ( void  )

◆ shell_last_status()

int shell_last_status ( void  )

◆ shell_parse()

int shell_parse ( char *  line,
char **  argv,
int  capacity 
)

◆ shell_poll()

void shell_poll ( void  )

Variable Documentation

◆ last_status

int last_status
static