From ba2b5321c58c1a7420c7d9d31c1226584537bcaa Mon Sep 17 00:00:00 2001 From: tjg Date: Thu, 25 May 2000 14:31:27 +0000 Subject: Portability: need special runes for read() returning EIO under job control systems. --- proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'proto.h') diff --git a/proto.h b/proto.h index 7d2fe2a..517d357 100644 --- a/proto.h +++ b/proto.h @@ -79,6 +79,7 @@ extern char *sys_errlist[]; #else /* BSD: fake it. */ #define setpgid(pid, pgrp) setpgrp(pid, pgrp) +#define tcgetpgrp(fd, pgrp) ioctl((fd), TIOCGPGRP) #define tcsetpgrp(fd, pgrp) ioctl((fd), TIOCSPGRP, &(pgrp)) #endif @@ -86,6 +87,7 @@ extern char *sys_errlist[]; /* Nothing doing. */ #define setpgid() +#define tcgetpgrp() #define tcsetpgrp() #endif /*HAVE_SETPGRP */ -- cgit v1.2.3