OpenVAS Libraries  8.0.3
Functions | Variables
openvas_proctitle.c File Reference
#include <glib.h>
#include <string.h>
#include <stdio.h>
#include "openvas_proctitle.h"

Functions

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

Variables

char ** environ
 

Function Documentation

void proctitle_init ( int  argc,
char **  argv 
)

Initializes the process setting variables.

Parameters
[in]argcArgc argument from main.
[in]argvArgv argument from main.
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.

Variable Documentation

char** environ