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
◆ proctitle_init()
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()
Initialises the program data variables to allow the changing of the process title.
Definition at line 89 of file proctitle.cpp.
◆ proctitle_set()
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 142 of file proctitle.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.