raw
vtools_genesis          1 
vtools_genesis 2 #ifndef _PROGNAME_H
vtools_genesis 3 #define _PROGNAME_H
vtools_genesis 4
vtools_genesis 5 /* Programs using this file should do the following in |main()|:
vtools_genesis 6 |set_program_name (argv[0]);| */
vtools_genesis 7
vtools_genesis 8 /* String containing name the program is called with. */
vtools_genesis 9 extern const char *program_name;
vtools_genesis 10
vtools_genesis 11 /* Set |program_name|, based on |argv[0]|. |argv0| must be a string
vtools_genesis 12 allocated with indefinite extent, and must not be modified after
vtools_genesis 13 this call. */
vtools_genesis 14 extern void set_program_name(const char *argv0);
vtools_genesis 15
vtools_genesis 16 /* Return |program_name|. This is similar to getprogname for systems
vtools_genesis 17 that don't support it. */
vtools_genesis 18 extern const char *get_program_name(void);
vtools_genesis 19
vtools_genesis 20 #endif