Livl Shell  0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
console.h
Go to the documentation of this file.
1 
7 #ifndef CONSOLE_H
8 #define CONSOLE_H
9 
10 #include <stdio.h>
11 #include <stdarg.h>
12 #include <unistd.h>
13 #include <stdlib.h>
14 #include "constants.h"
15 
21 void print_info(const char *text, ...);
22 
26 void print_prompt();
27 
33 void print_perror(const char *format, ...);
34 
35 #endif // CONSOLE_H
print_perror
void print_perror(const char *format,...)
Print the error to the console.
Definition: console.c:3
print_prompt
void print_prompt()
Print the prompt to the console (username @ hostname:$)
Definition: console.c:24
constants.h
Header file defining constants.
print_info
void print_info(const char *text,...)
Generic print information to the console.
Definition: console.c:14