add epty.* to extend _pty.*

stdout/stderr independence for child process
This commit is contained in:
Emile Clark-Boman 2025-09-09 21:07:34 +10:00
parent ac590806bf
commit b2f204a2cb
2 changed files with 53 additions and 0 deletions

8
cli/epty.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef DORNE_EPTY_H
#define DORNE_EPTY_H
#include <sys/types.h>
pid_t forkepty(int *fdmx, int *fderr);
#endif /* DORNE_EPTY_H */