4 * Copyright (c) Tuomo Valkonen 1999-2002.
6 * You may distribute and modify this library under the terms of either
7 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
18 #include "optparser.h"
21 * @parame argv0 The program name used to invoke the current program, with
22 * path (if specified). Unfortunately it is generally not easy to determine
23 * the encoding of this string, so we don't require a specific one here.
25 * @see http://stackoverflow.com/questions/5408730/what-is-the-encoding-of-argv
27 extern void libtu_init(const char *argv0
);
29 * The program name used to invoke the current program, with path (if
30 * supplied). Unfortunately the encoding is undefined.
32 extern const char *libtu_progname();
34 * The program name used to invoke the current program, without path.
35 * Unfortunately the encoding is undefined.
37 extern const char *libtu_progbasename();
39 #endif /* LIBTU_UTIL_H */