aboutsummaryrefslogtreecommitdiff
path: root/libbutl/fdstream.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/fdstream.hxx')
-rw-r--r--libbutl/fdstream.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbutl/fdstream.hxx b/libbutl/fdstream.hxx
index 9c8f786..11abf53 100644
--- a/libbutl/fdstream.hxx
+++ b/libbutl/fdstream.hxx
@@ -906,6 +906,9 @@ namespace butl
// applicable on some platforms, such as Windows). Throw ios::failure on the
// underlying OS error.
//
+ // Note that calling this function is only valid if fdterm() above returned
+ // true for this file descriptor.
+ //
LIBBUTL_SYMEXPORT bool
fdterm_color (int, bool enable);