This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit df2baff1b855fb8335a8cd913c18c374e26bb61e
Author: Marco Casaroli <[email protected]>
AuthorDate: Sat Oct 17 19:51:51 2026 +0200

    Documentation: Mark ctermid() as supported.
    
    ctermid() is now in libc.  Mark it as supported in the POSIX table
    and add it to the list of stdio interfaces.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 Documentation/reference/user/10_filesystem.rst | 4 ++++
 Documentation/standards/posix.rst              | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/reference/user/10_filesystem.rst 
b/Documentation/reference/user/10_filesystem.rst
index 4cc5627d433..1cf5439b198 100644
--- a/Documentation/reference/user/10_filesystem.rst
+++ b/Documentation/reference/user/10_filesystem.rst
@@ -326,6 +326,10 @@ Standard I/O
   FAR char *tempnam(FAR const char *dir, FAR const char *pfx);
   int       remove(FAR const char *path);
 
+  /* Controlling terminal */
+
+  FAR char *ctermid(FAR char *s);
+
   #include <sys/stat.h>
 
   int mkdir(FAR const char *pathname, mode_t mode);
diff --git a/Documentation/standards/posix.rst 
b/Documentation/standards/posix.rst
index 580c999b1ec..4e3d3ac034c 100644
--- a/Documentation/standards/posix.rst
+++ b/Documentation/standards/posix.rst
@@ -1783,7 +1783,7 @@ General Terminal:
 +--------------------------------+---------+
 | :c:func:`cfsetospeed`          | Yes     |
 +--------------------------------+---------+
-| ctermid()                      | No      |
+| ctermid()                      | Yes     |
 +--------------------------------+---------+
 | :c:func:`isatty`               | Yes     |
 +--------------------------------+---------+

Reply via email to