1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "9term.h" #include <libutil.h> int getchildwd(int pid, char *wdir, int bufn) { USED(pid); USED(wdir); USED(bufn); return -1; } int getpts(int fd[], char *slave) { return openpty(&fd[1], &fd[0], slave, 0, 0); }