Greenbone Vulnerability Management Libraries 22.12.2
proctitle.h File Reference

API for process title setting. More...

Go to the source code of this file.

Functions

void proctitle_init (int, char **)
 Initializes the process setting variables.
 
void proctitle_set (const char *,...)
 Sets the process' title.
 

Detailed Description

API for process title setting.

Function Documentation

◆ proctitle_init()

void proctitle_init ( int argc,
char ** argv )

Initializes the process setting variables.

Parameters
[in]argcArgc argument from main.
[in]argvArgv argument from main.

◆ proctitle_set()

void proctitle_set ( const char * new_title,
... )

Sets the process' title.

Parameters
[in]new_titleFormat string for new process title.
[in]...Arguments for format string.