KInit
proctitle.h File Reference
Go to the source code of this file.
Functions | |
void | proctitle_init (int argc, char *argv[], char *envp[]) |
void | proctitle_set (const char *fmt,...) |
Function Documentation
void proctitle_init | ( | int | argc, | |
char * | argv[], | |||
char * | envp[] | |||
) |
Initialises the program data variables to allow the changing of the process title.
This _must_ be called before proctitle_set, and must only be called once.
- Parameters:
-
argc argc, as passed to main() argv argv, as passed to main() envp envp, as passed to main()
Definition at line 88 of file proctitle.cpp.
void proctitle_set | ( | const char * | fmt, | |
... | ||||
) |
Change the process title.
It accepts a variable number of arguments (a va_list) in the manner of the printf family of functions. See the documentation for printf for a description of the format string.
Definition at line 140 of file proctitle.cpp.