![]() |
Livl Shell
0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
|
File containing the console functions to manage the console (print information, etc.) to avoid code duplication. More...
#include <stdio.h>#include <stdarg.h>#include <unistd.h>#include <stdlib.h>#include "constants.h"

Go to the source code of this file.
Functions | |
| void | print_info (const char *text,...) |
| Generic print information to the console. More... | |
| void | print_prompt () |
| Print the prompt to the console (username @ hostname:$) | |
| void | print_perror (const char *format,...) |
| Print the error to the console. More... | |
File containing the console functions to manage the console (print information, etc.) to avoid code duplication.
| void print_info | ( | const char * | text, |
| ... | |||
| ) |
Generic print information to the console.
| text | The text to be printed |
| ... | optional arguments like s, d, etc. |
| void print_perror | ( | const char * | format, |
| ... | |||
| ) |
Print the error to the console.
| format | The format of the error |
| ... | optional arguments like s, d, etc. |
1.8.17