php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
ps_title.c File Reference
#include <php.h>
#include <php_config.h>
#include "ps_title.h"
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <stdlib.h>

Go to the source code of this file.

Macros

#define PS_USE_NONE
 
#define PS_PADDING   ' '
 
#define PS_BUFFER_SIZE   256
 

Functions

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

Variables

char ** environ
 

Macro Definition Documentation

◆ PS_BUFFER_SIZE

#define PS_BUFFER_SIZE   256

Definition at line 121 of file ps_title.c.

◆ PS_PADDING

#define PS_PADDING   ' '

Definition at line 109 of file ps_title.c.

◆ PS_USE_NONE

#define PS_USE_NONE

Definition at line 102 of file ps_title.c.

Function Documentation

◆ cleanup_ps_args()

void cleanup_ps_args ( char ** argv)

Definition at line 435 of file ps_title.c.

◆ get_ps_title()

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

Definition at line 397 of file ps_title.c.

◆ is_ps_title_available()

int is_ps_title_available ( void )

Definition at line 287 of file ps_title.c.

◆ ps_title_errno()

const char * ps_title_errno ( int rc)

Definition at line 307 of file ps_title.c.

◆ save_ps_args()

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

Definition at line 147 of file ps_title.c.

◆ set_ps_title()

int set_ps_title ( const char * title)

Definition at line 340 of file ps_title.c.

Variable Documentation

◆ environ

char** environ
extern