php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
ps_title.h File Reference

Go to the source code of this file.

Macros

#define PS_TITLE_SUCCESS   0
 
#define PS_TITLE_NOT_AVAILABLE   1
 
#define PS_TITLE_NOT_INITIALIZED   2
 
#define PS_TITLE_BUFFER_NOT_AVAILABLE   3
 
#define PS_TITLE_WINDOWS_ERROR   4
 

Functions

char ** save_ps_args (int argc, char **argv)
 
int set_ps_title (const char *new_str)
 
int get_ps_title (size_t *displen, const char **string)
 
const char * ps_title_errno (int rc)
 
int is_ps_title_available (void)
 
void cleanup_ps_args (char **argv)
 

Macro Definition Documentation

◆ PS_TITLE_BUFFER_NOT_AVAILABLE

#define PS_TITLE_BUFFER_NOT_AVAILABLE   3

Definition at line 23 of file ps_title.h.

◆ PS_TITLE_NOT_AVAILABLE

#define PS_TITLE_NOT_AVAILABLE   1

Definition at line 21 of file ps_title.h.

◆ PS_TITLE_NOT_INITIALIZED

#define PS_TITLE_NOT_INITIALIZED   2

Definition at line 22 of file ps_title.h.

◆ PS_TITLE_SUCCESS

#define PS_TITLE_SUCCESS   0

Definition at line 20 of file ps_title.h.

◆ PS_TITLE_WINDOWS_ERROR

#define PS_TITLE_WINDOWS_ERROR   4

Definition at line 24 of file ps_title.h.

Function Documentation

◆ cleanup_ps_args()

void cleanup_ps_args ( char ** argv)
extern

Definition at line 435 of file ps_title.c.

◆ get_ps_title()

int get_ps_title ( size_t * displen,
const char ** string )
extern

Definition at line 397 of file ps_title.c.

◆ is_ps_title_available()

int is_ps_title_available ( void )
extern

Definition at line 287 of file ps_title.c.

◆ ps_title_errno()

const char * ps_title_errno ( int rc)
extern

Definition at line 307 of file ps_title.c.

◆ save_ps_args()

char ** save_ps_args ( int argc,
char ** argv )
extern

Definition at line 147 of file ps_title.c.

◆ set_ps_title()

int set_ps_title ( const char * new_str)
extern

Definition at line 340 of file ps_title.c.