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 c60743c7ba93c9e399347dde82f9676202f0808d
Author: Marco Casaroli <[email protected]>
AuthorDate: Wed Nov 11 14:38:31 2026 +0100

    Documentation: Add getdomainname() and setdomainname() to unistd.h.
    
    Give the two functions in the list of the unistd.h interfaces.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 Documentation/reference/user/10_filesystem.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/reference/user/10_filesystem.rst 
b/Documentation/reference/user/10_filesystem.rst
index 29a44821756..2b3916ec377 100644
--- a/Documentation/reference/user/10_filesystem.rst
+++ b/Documentation/reference/user/10_filesystem.rst
@@ -256,6 +256,11 @@ UNIX Standard Operations (``unistd.h``)
   int     sethostname(FAR const char *name, size_t size);
   #endif
 
+  /* NIS domain name: empty at boot, at most HOST_NAME_MAX bytes */
+
+  int     getdomainname(FAR char *name, size_t size);
+  int     setdomainname(FAR const char *name, size_t size);
+
   /* Other */
 
   int     getopt(int argc, FAR char * const argv[], FAR const char *optstring);

Reply via email to