]>
Commit | Line | Data |
---|---|---|
fcd2239e L |
1 | /* |
2 | * (C) Copyright 2016 Leo C. <erbl259-lmu@yahoo.de> | |
3 | * | |
4 | * SPDX-License-Identifier: GPL-2.0 | |
5 | */ | |
6 | ||
7 | #ifndef EVAL_ARG_H | |
8 | #define EVAL_ARG_H | |
9 | ||
10 | /** | |
11 | * eval_arg() - evaluate a command argument expression | |
12 | * | |
13 | * @arg: pointer to argument (usually argv[i]) | |
14 | * @end_ptr: pointer to position, where evaluation stopped. Points to '\0' if no error. | |
15 | * @return evaluated argument | |
16 | */ | |
17 | long eval_arg(char *arg, char **end_ptr); | |
18 | ||
19 | #endif /* EVAL_ARG_H */ |