30 #include <sys/param.h> 56 char *new_progname, *new_progname_full;
72 environ = g_malloc0 (
sizeof (
char *) * (i + 1));
76 for (i = 0; envp[i]; i++)
77 environ[i] = g_strdup (envp[i]);
110 formatted = g_strdup_vprintf (new_title, args);
112 i = strlen (formatted);
135 va_start (args, new_title);
void proctitle_init(int argc, char **argv)
Initializes the process setting variables.
static void proctitle_set_args(const char *new_title, va_list args)
Sets the process' title.
const char * __progname_full
void proctitle_set(const char *new_title,...)
Sets the process' title.
const char * __progname
Access to the executable's name.
API for process title setting.