summaryrefslogtreecommitdiff
path: root/42sh/src/exec/ast_exec_redirs.h
blob: 4fd32dead127fcdf048a8872c0b2f59b599ed5d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef AST_EXEC_REDIRS_H
#define AST_EXEC_REDIRS_H

#include "ast/ast_redirect.h"

#define BAD_FD -1
#define CLOSE_FD -2

void find_fds(struct redirect r, int *left_fd, int *right_fd);

#endif /* ! AST_EXEC_REDIRS_H */