From f55f5f7c8b5a8efc0648cb7beb19d684f2cbf180 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Sun, 16 Feb 2020 19:11:37 +0100
Subject: [PATCH] Documentation [Stdio]: Added some more notes regarding
 PROP_TTY.

---
 src/modules/_Stdio/file.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/modules/_Stdio/file.c b/src/modules/_Stdio/file.c
index 43df9cf223..5e7ffeb78b 100644
--- a/src/modules/_Stdio/file.c
+++ b/src/modules/_Stdio/file.c
@@ -3894,6 +3894,8 @@ static void file_errno(INT32 args)
  *!     @[FILE_EXCLUSIVE]
  *!   @value 0x0400
  *!     @[FILE_NONBLOCKING]
+ *!   @value 0x0080
+ *!     @[PROP_TTY]
  *!   @value 0x0040
  *!     @[PROP_SEND_FD]
  *!   @value 0x0010
@@ -5965,6 +5967,11 @@ static void f_get_all_active_fd(INT32 args)
  *!
  *!   The @[Stdio.File] object supports tty operations.
  *!
+ *! @note
+ *!   This constant is only present on platforms where pseudo tty
+ *!   (aka pty) operations are available, and may thus be used to
+ *!   detect whether such operations should be attempted.
+ *!
  *! @seealso
  *!   @[Stdio.File()->pipe()]
  */
-- 
GitLab