comparison Python/pythonmain.c @ 179:0c355e9ee854 legacy-trunk

Added isatty() for MPW.
author Guido van Rossum <guido@python.org>
date Thu, 04 Apr 1991 10:47:59 +0000
parents 43cabac5023d
children 3cc54972ab52
comparison
equal deleted inserted replaced
178:fb6367d5ff46 179:0c355e9ee854
423 int fd; 423 int fd;
424 { 424 {
425 return fd == fileno(stdin); 425 return fd == fileno(stdin);
426 } 426 }
427 427
428 #ifdef macintosh
429 /* same */
430 int
431 isatty(fd)
432 int fd;
433 {
434 return fd == fileno(stdin);
435 }
436 #endif
437
428 #endif 438 #endif
429 439
430 /* XXX WISH LIST 440 /* XXX WISH LIST
431 441
432 - possible new types: 442 - possible new types: