cli_get_process_title(3) php man page | unix.com

Query: cli_get_process_title

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CLI_GET_PROCESS_TITLE(3)						 1						  CLI_GET_PROCESS_TITLE(3)

cli_get_process_title - Returns the current process title

SYNOPSIS
string cli_get_process_title (void )
DESCRIPTION
Returns the current process title, as set by cli_set_process_title(3). Note that this may not exactly match what is shown in ps or top, depending on your operating system. This function is available only in CLI mode.
PARAMETERS
This function has no parameters.
RETURN VALUES
Return a string with the current process title or NULL on error.
ERRORS
/EXCEPTIONS An E_WARNING will be generated if the operating system is unsupported.
EXAMPLES
Example #1 cli_get_process_title(3) example <?php echo "Process title: " . cli_get_process_title() . " "; ?>
SEE ALSO
cli_set_process_title(3). PHP Documentation Group CLI_GET_PROCESS_TITLE(3)
Related Man Pages
setproctitle(3) - netbsd
pg_field_num(3) - php
tidy_get_head(3) - php
tidy.repairstring(3) - php
domdocument.savexml(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Status of UNIX.COM Forum Transformation
Denial Of Service Attack Update