summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/unixLabels.mli
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/unixLabels.mli')
-rw-r--r--otherlibs/unix/unixLabels.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/otherlibs/unix/unixLabels.mli b/otherlibs/unix/unixLabels.mli
index 1f081c81f..05d1181c2 100644
--- a/otherlibs/unix/unixLabels.mli
+++ b/otherlibs/unix/unixLabels.mli
@@ -357,6 +357,10 @@ val fstat : file_descr -> stats
(** Return the information for the file associated with the given
descriptor. *)
+val isatty : file_descr -> bool
+(** Return [true] if the given file descriptor refers to a terminal or
+ console window, [false] otherwise. *)
+
(** {6 Seeking, truncating and statistics on large files} *)