CUBRID Engine  latest
process_util.c File Reference
#include "process_util.h"
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
Include dependency graph for process_util.c:

Go to the source code of this file.

Functions

int create_child_process (const char *const argv[], int wait_flag, const char *stdin_file, char *stdout_file, char *stderr_file, int *exit_status)
 

Function Documentation

int create_child_process ( const char *const  argv[],
int  wait_flag,
const char *  stdin_file,
char *  stdout_file,
char *  stderr_file,
int *  exit_status 
)

Definition at line 41 of file process_util.c.

References argv, assert, FALSE, i, NULL, pid, rc, strdup(), and TRUE.