1 |
frodo |
363 |
/* |
2 |
|
|
* Fundamental C definitions. |
3 |
|
|
*/ |
4 |
|
|
|
5 |
|
|
#ifndef UTIL_LINUX_C_H |
6 |
|
|
#define UTIL_LINUX_C_H |
7 |
|
|
|
8 |
|
|
/* |
9 |
|
|
* Constant strings for usage() functions. |
10 |
|
|
*/ |
11 |
|
|
#define USAGE_HEADER _("\nUsage:\n") |
12 |
|
|
#define USAGE_OPTIONS _("\nOptions:\n") |
13 |
|
|
#define USAGE_SEPARATOR _("\n") |
14 |
|
|
#define USAGE_HELP _(" -h, --help display this help and exit\n") |
15 |
|
|
#define USAGE_VERSION _(" -V, --version output version information and exit\n") |
16 |
|
|
#define USAGE_MAN_TAIL(_man) _("\nFor more details see %s.\n"), _man |
17 |
|
|
|
18 |
|
|
#define UTIL_LINUX_VERSION _("%s (enhanced) %s\n"), program_invocation_short_name, program_version |
19 |
|
|
|
20 |
frodo |
364 |
#define warnx(dummy,message) fprintf(stderr, "%s: %s\n", program_invocation_short_name, message); |
21 |
|
|
|
22 |
frodo |
363 |
#endif /* UTIL_LINUX_C_H */ |