mlibc: Add isatty.