mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Added isatty() for MPW.
This commit is contained in:
parent
054ff1f29e
commit
e6c67a7263
1 changed files with 10 additions and 0 deletions
|
@ -425,6 +425,16 @@ isatty(fd)
|
|||
return fd == fileno(stdin);
|
||||
}
|
||||
|
||||
#ifdef macintosh
|
||||
/* same */
|
||||
int
|
||||
isatty(fd)
|
||||
int fd;
|
||||
{
|
||||
return fd == fileno(stdin);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* XXX WISH LIST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue