Am 2013-02-07 08:45, schrieb Alexey Zakhlestin:

On 07.02.2013, at 9:40, Keyur Govande <keyurgova...@gmail.com> wrote:

Hello,

I've created a new RFC to improve support for setting a CLI process' title
on Linux. It is based off of the PostgreSQL implementation and is more
robust than the proctitle extension.

More details and patch here: https://wiki.php.net/rfc/cli_process_title

This would be useful for some of my tasks!
I don't like names of functions, but I like functionality and API approach

how about:

bool   cli_title_settable(void);
bool   cli_title_set(string);
string cli_title_get();



Greate feature and +1 to Alexeys function names.

But what is the point in checking if I'm able to set a title with is_cli_ps_title_available() if set_cli_ps_title() can fail and return false anyway?

I'm just asking because I don't see the benefit of the function is_cli_ps_title_available for the user.



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to