exec.c
static int open_redir_fd(char* file, int flags) {

	int fd;

	fd = open(file,
		flags | O_CLOEXEC,
		S_IRUSR | S_IWUSR);

	return fd;
}
// opens the file in which the stdin or
// stdout flow will be redirected
opens the file in which the stdin or
stdout flow will be redirected
opens the file in which the stdin or stdout flow will be redirected
static int open_redir_fd(char* file, int flags) {
	int fd;
	fd = open(file,
		flags | O_CLOEXEC,
		S_IRUSR | S_IWUSR);
	return fd;
}
static int open_redir_fd ( char * file , int flags ) { int fd ; fd = open ( file , flags | O_CLOEXEC , S_IRUSR | S_IWUSR ) ; return fd ; }
opens the file in which the stdin or
stdout flow will be redirected
opens the file in which the stdin or stdout flow will be redirected