Searched defs:command (Results 1 - 9 of 9) sorted by relevance

/PHP_5_4/ext/standard/
H A Dexec.c141 /* Return last line from the shell command */
188 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot execute a blank command");
208 /* {{{ proto string exec(string command [, array &output [, int &return_value]])
216 /* {{{ proto int system(string command [, int &return_value])
224 /* {{{ proto void passthru(string command [, int &return_value])
234 break out of a shell command
394 /* {{{ proto string escapeshellcmd(string command)
398 char *command; local
402 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &command, &command_len) == FAILURE) {
407 cmd = php_escape_shell_cmd(command);
440 char *command; local
[all...]
H A Dproc_open.h48 char *command; member in struct:php_process_handle
H A Dproc_open.c267 pefree(proc->command, proc->is_persistent);
352 add_assoc_string(return_value, "command", proc->command, 1);
437 /* {{{ proto resource proc_open(string command, array descriptorspec, array &pipes [, string cwd [, array env [, array other_options]]])
441 char *command, *cwd=NULL; local
482 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "saz|s!a!a!", &command,
488 command = pestrdup(command, is_persistent);
508 command_len = strlen(command);
745 newprocok = CreateProcess(NULL, command,
[all...]
H A Dfile.c906 /* {{{ proto resource popen(string command, string mode)
907 Execute a command and open either a read or a write pipe to it */
910 char *command, *mode; local
916 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ps", &command, &command_len, &mode, &mode_len) == FAILURE) {
930 fp = VCWD_POPEN(command, posix_mode);
932 php_error_docref2(NULL TSRMLS_CC, command, posix_mode, E_WARNING, "%s", strerror(errno));
940 php_error_docref2(NULL TSRMLS_CC, command, mode, E_WARNING, "%s", strerror(errno));
/PHP_5_4/TSRM/
H A Dtsrm_nw.c55 char *command = NULL, *argv[MAX_ARGS] = {'\0'}, **env = NULL; local
130 command = (char*)malloc(ptrLen + 1);
131 if (!command) {
136 strcpy (command, ptr);
145 if (command)
146 free (command);
215 if (command)
216 free (command);
H A Dtsrm_virtual_cwd.c1829 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument
1831 return popen_ex(command, type, CWDG(cwd).cwd, NULL TSRMLS_CC);
1838 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument
1854 retval = popen(command, type);
1865 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument
1873 command_length = strlen(command);
1916 memcpy(ptr, command, command_length+1);
H A Dtsrm_win32.c49 globals->comspec = _strdup((GetVersion()<0x80000000)?"cmd.exe":"command.com");
450 TSRM_API FILE *popen(const char *command, const char *type) argument
454 return popen_ex(command, type, NULL, NULL TSRMLS_CC);
457 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env TSRMLS_DC) argument
535 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2);
540 sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command);
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd.c56 "Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will "
61 PHPAPI const char * const mysqlnd_out_of_sync = "Commands out of sync; you can't run this command now";
210 zend_bool silent, enum php_mysqlnd_server_command command,
216 DBG_INF_FMT("silent=%u packet=%u command=%s", silent, ok_packet, mysqlnd_command_to_text[command]);
227 DBG_ERR_FMT("Error while reading %s's OK packet", mysqlnd_command_to_text[command]);
229 mysqlnd_command_to_text[command], getpid());
275 DBG_ERR_FMT("Error while reading %s's EOF packet", mysqlnd_command_to_text[command]);
277 mysqlnd_command_to_text[command], getpid());
309 MYSQLND_METHOD(mysqlnd_conn_data, simple_command)(MYSQLND_CONN_DATA * conn, enum php_mysqlnd_server_command command,
908 const char * const command = conn->options->init_commands[current_command]; local
[all...]
H A Dmysqlnd_wireprotocol.h159 enum php_mysqlnd_server_command command; member in struct:st_mysqlnd_packet_command

Completed in 15 milliseconds