#include <stdlib.h>#include <string.h>Go to the source code of this file.
Defines | |
| #define | hlr_getAllocCnt() hlr_allocCnt |
| Get the number of pending allocations. | |
| #define | hlr_itoa(s, i) sprintf(s,"%d",i) |
| Convert an integer into a string. | |
| #define | MAX(a, b) ((a)<(b)?(b):(a)) |
| Maximum of a and b. | |
| #define | MIN(a, b) ((a)>(b)?(b):(a)) |
| Minimum of a and b. | |
| #define | NUMELE(a) ((int)sizeof(a)/sizeof(a[0])) |
| Number of elements in a. | |
Functions | |
| int | hlr_system (char *cmd, int nonZeroOK) |
| Execute shell command. | |
Definition in file hlrmisc.h.
| int hlr_system | ( | char * | cmd, | |
| int | nonZeroOK | |||
| ) |
Execute shell command.
| [in] | cmd | |
| [in] | nonZeroOK | If 1, then a non-zero exit status from system is tolerated. If 0, then a non-zero exit status from system leads to a die() |
1.5.7.1