Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | child_process |
Macros | |
#define | IS_RUN_COMMAND_ERR(x) (-(x) >= ERR_RUN_COMMAND_FORK) |
#define | RUN_COMMAND_NO_STDIN 1 |
#define | RUN_PERF_CMD 2 /*If this is to be perf sub-command */ |
#define | RUN_COMMAND_STDOUT_TO_STDERR 4 |
Functions | |
int | start_command (struct child_process *) |
int | finish_command (struct child_process *) |
int | run_command (struct child_process *) |
int | run_command_v_opt (const char **argv, int opt) |
#define IS_RUN_COMMAND_ERR | ( | x | ) | (-(x) >= ERR_RUN_COMMAND_FORK) |
Definition at line 13 of file run-command.h.
#define RUN_COMMAND_NO_STDIN 1 |
Definition at line 53 of file run-command.h.
#define RUN_COMMAND_STDOUT_TO_STDERR 4 |
Definition at line 55 of file run-command.h.
Definition at line 54 of file run-command.h.
anonymous enum |
ERR_RUN_COMMAND_FORK | |
ERR_RUN_COMMAND_EXEC | |
ERR_RUN_COMMAND_PIPE | |
ERR_RUN_COMMAND_WAITPID | |
ERR_RUN_COMMAND_WAITPID_WRONG_PID | |
ERR_RUN_COMMAND_WAITPID_SIGNAL | |
ERR_RUN_COMMAND_WAITPID_NOEXIT |
Definition at line 4 of file run-command.h.
int finish_command | ( | struct child_process * | ) |
Definition at line 185 of file run-command.c.
int run_command | ( | struct child_process * | ) |
Definition at line 190 of file run-command.c.
int start_command | ( | struct child_process * | ) |
Definition at line 18 of file run-command.c.