summaryrefslogtreecommitdiff
path: root/getprogname.h
diff options
context:
space:
mode:
Diffstat (limited to 'getprogname.h')
-rw-r--r--getprogname.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/getprogname.h b/getprogname.h
new file mode 100644
index 0000000..f8f55bb
--- /dev/null
+++ b/getprogname.h
@@ -0,0 +1,9 @@
+#ifndef GETPROGNAME_H
+#define GETPROGNAME_H
+
+#include <stddef.h>
+
+char *get_program_name(size_t n, char buf[static n]);
+char *getprogname(void);
+
+#endif