This is a set of common functions for terminal input and output. 更多...
#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <math.h>#include "../include/var_struc.h"函数 | |
| void | arg_preprocess (const int argc_least, const int argc, char *argv[], char *scheme) |
| This is a functions preprocesses ARGuments. 更多... | |
This is a set of common functions for terminal input and output.
在文件 terminal_io.c 中定义.
| void arg_preprocess | ( | const int | argc_least, |
| const int | argc, | ||
| char * | argv[], | ||
| char * | scheme | ||
| ) |
This is a functions preprocesses ARGuments.
This function prints out all ARGuments, checks for the right ARGument Counter, loads argv[3], argv[4] and argv[argc_least+1,argc_least+2,…] as configuration, and puts the scheme name into the pointer 'scheme'.
| [in] | argc_least | The least value of the ARGument Counter. |
| [in] | argc | ARGument Counter. |
| [in] | argv | ARGument Values. |
| [in] | scheme | Scheme name.
|
在文件 terminal_io.c 第 26 行定义.