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 89 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 142 of file proctitle.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Mon Jul 15 2013 13:04:27 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Mon Jul 15 2013 13:04:27 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.