diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-09-20 13:34:52 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-09-20 13:34:52 -0700 |
commit | 6b98a6397468a802603d1566a45b4b578ae64ed4 (patch) | |
tree | 239c0207ba2e1195614a440e05f9abda8c8a2140 /deps/uv/src/unix/tty.c | |
parent | b20c98e42708668c564d5f83bad83cf074cf4f58 (diff) | |
download | android-node-v8-6b98a6397468a802603d1566a45b4b578ae64ed4.tar.gz android-node-v8-6b98a6397468a802603d1566a45b4b578ae64ed4.tar.bz2 android-node-v8-6b98a6397468a802603d1566a45b4b578ae64ed4.zip |
Upgrade libuv to 2ef8f35
Diffstat (limited to 'deps/uv/src/unix/tty.c')
-rw-r--r-- | deps/uv/src/unix/tty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/uv/src/unix/tty.c b/deps/uv/src/unix/tty.c index 3ceeb5f1c0..9de7dd9fcb 100644 --- a/deps/uv/src/unix/tty.c +++ b/deps/uv/src/unix/tty.c @@ -67,3 +67,7 @@ fatal: return -1; } + +int uv_is_tty(uv_file file) { + return isatty(file); +} |