Subversion Repositories SvarDOS

Rev

Rev 479 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef REDIR_H
#define REDIR_H

/* parse commandline and performs necessary redirections. cmdline is
 * modified so all redirections are cut out.
 * returns 0 on success, non-zero otherwise */
int redir_parsecmd(char far *cmdline, char *BUFFER);

/* restores previous stdout/stdin handlers if they have been redirected */
void redir_revert(void);

#endif