Set up pseudo terminal and fork slave

This commit is contained in:
Daniel Eklöf 2019-06-13 15:19:10 +02:00
parent 4de6a8ad38
commit acda4d2d31
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 127 additions and 7 deletions

4
slave.h Normal file
View file

@ -0,0 +1,4 @@
#pragma once
#include <stdbool.h>
void slave_spawn(int ptmx);