view src/lib/process-title.h @ 22596:1a7bbda6284b

iostream-multiplex: Check return values in tests
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Fri, 06 Oct 2017 08:52:18 +0300
parents 32aba99c2e4f
children
line wrap: on
line source

#ifndef PROCESS_TITLE_H
#define PROCESS_TITLE_H

/* Initialize title changing. */
void process_title_init(char **argv[]);

/* Change the process title if possible. */
void process_title_set(const char *title);
/* Free all memory used by process title hacks. This should be the last
   function called by the process, since it frees argv and environment. */
void process_title_deinit(void);

#endif