-
+ C6915DC61245B2A3953757373428554EEC0020588350347EDB2BD0EC9C541C1CABF9B15A1264C936D7D5CF5268CA185797CA0E0D8A0644404C9147CAC3DF449F
vtools/lib/progname.h
(0 . 0)(1 . 20)
2301
2302 #ifndef _PROGNAME_H
2303 #define _PROGNAME_H
2304
2305 /* Programs using this file should do the following in |main()|:
2306 |set_program_name (argv[0]);| */
2307
2308 /* String containing name the program is called with. */
2309 extern const char *program_name;
2310
2311 /* Set |program_name|, based on |argv[0]|. |argv0| must be a string
2312 allocated with indefinite extent, and must not be modified after
2313 this call. */
2314 extern void set_program_name(const char *argv0);
2315
2316 /* Return |program_name|. This is similar to getprogname for systems
2317 that don't support it. */
2318 extern const char *get_program_name(void);
2319
2320 #endif