diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-02-09 20:28:29 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-02-09 20:28:29 -0500 |
commit | 32e01ad647ff347b0395e2a98863dcc426cd8f72 (patch) | |
tree | 67dabfb75417fb489aeb09a9c7567dfe358205d8 /common.h | |
parent | 97c79ae01a7bd761789259842e7d38e2cc723048 (diff) | |
download | mstat-32e01ad647ff347b0395e2a98863dcc426cd8f72.tar.gz |
Move find_program to common
* Add ability to return the path to program
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -85,5 +85,6 @@ int mstat_write(FILE *fp, struct mstat_record_t *p); int mstat_iter(FILE *fp, struct mstat_record_t *p); void mstat_get_mmax(const double a[], size_t size, double *min, double *max); double mstat_difftimespec(struct timespec end, struct timespec start); +int mstat_find_program(const char *name, char *where); #endif //MSTAT_COMMON_H |