aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2023-02-09 20:28:29 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2023-02-09 20:28:29 -0500
commit32e01ad647ff347b0395e2a98863dcc426cd8f72 (patch)
tree67dabfb75417fb489aeb09a9c7567dfe358205d8 /common.h
parent97c79ae01a7bd761789259842e7d38e2cc723048 (diff)
downloadmstat-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.h b/common.h
index ccdf7e8..703c3a4 100644
--- a/common.h
+++ b/common.h
@@ -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