OSDN Git Service

yash2: 全ソースのインデントを変更 (vim: set ts=8 sts=4 sw=4 noet:)
[yash/yash.git] / redir.h
1 /* Yash: yet another shell */
2 /* redir.h: manages file descriptors and provides functions for redirections */
3 /* © 2007-2008 magicant */
4
5 /* This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 2 of the License, or
8  * (at your option) any later version.
9  * 
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  * 
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
17
18
19 #ifndef REDIR_H
20 #define REDIR_H
21
22
23 extern int xclose(int fd);
24 extern int xdup2(int oldfd, int newfd);
25
26
27 #endif /* REDIR_H */
28
29
30 /* vim: set ts=8 sts=4 sw=4 noet: */