mlibc: Add isatty.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 22 Apr 2018 09:47:44 +0000 (11:47 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 22 Apr 2018 09:47:44 +0000 (11:47 +0200)
commitece39a9a1859be150e874754755213e264f3be8a
treec9322280378732056c4379adb8cb106a7f03e2f8
parent979406f3a617880cda8c063ee4297ebca097fab7
mlibc: Add isatty.

* lib/libc.c (isatty): New function.
* include/unistd.h: Declare it.
include/unistd.h
lib/libc.c