Home
last modified time | relevance | path

Searched refs:prog_name (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/standard/
H A Dproc_open.c605 static bool is_executed_by_cmd(const char *prog_name) in is_executed_by_cmd() argument
608 if (_stricmp("cmd.exe", prog_name) == 0 || _stricmp("cmd", prog_name) == 0 in is_executed_by_cmd()
609 || stricmp_end("\\cmd.exe", prog_name) == 0 || stricmp_end("\\cmd", prog_name) == 0) { in is_executed_by_cmd()
614 char *last_separator = strrchr(prog_name, '\\'); in is_executed_by_cmd()
615 char *last_separator_fwd = strrchr(prog_name, '/'); in is_executed_by_cmd()
625 extension = strrchr(prog_name, '.'); in is_executed_by_cmd()
628 if (extension == NULL || extension == prog_name) { in is_executed_by_cmd()

Completed in 9 milliseconds