Changed to call the isatty() syscall directly, rather than fiddling around with non-portable ioctls.
This commit is contained in:
@@ -21,6 +21,7 @@ DEFINITION MODULE StripUnix;
|
||||
(* Sys5 *) PROCEDURE fcntl(fildes, request, arg: INTEGER) : INTEGER;
|
||||
PROCEDURE getpid() : INTEGER;
|
||||
PROCEDURE ioctl(fildes, request: INTEGER; arg: ADDRESS) : INTEGER;
|
||||
PROCEDURE isatty(fildes: INTEGER) : INTEGER;
|
||||
PROCEDURE lseek(fildes: INTEGER; offset: LONGINT; whence: INTEGER) : LONGINT;
|
||||
PROCEDURE open(path: ADDRESS; oflag: INTEGER) : INTEGER;
|
||||
PROCEDURE read(fildes: INTEGER;
|
||||
|
||||
Reference in New Issue
Block a user