This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit f9beb3df26407791bfc6fa51dc2a3c401ba3eb50 Author: Marco Casaroli <[email protected]> AuthorDate: Fri Oct 23 05:48:44 2026 +0200 Documentation: List mkostemp(), mkstemps() and mkostemps(). libc now has these three functions: list them with mkstemp() in the file system interfaces of stdlib.h. Also give mktemp() its real return type, FAR char *. 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, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/reference/user/10_filesystem.rst b/Documentation/reference/user/10_filesystem.rst index f59bc847efe..268dc0b52ea 100644 --- a/Documentation/reference/user/10_filesystem.rst +++ b/Documentation/reference/user/10_filesystem.rst @@ -355,8 +355,11 @@ Standard Library (``stdlib.h``) Generally addresses other operating system interfaces. However, the following may also be considered as file system interfaces: -.. c:function:: int mktemp(FAR char *template); +.. c:function:: FAR char *mktemp(FAR char *template); .. c:function:: int mkstemp(FAR char *template); +.. c:function:: int mkostemp(FAR char *template, int flags); +.. c:function:: int mkstemps(FAR char *template, int suffixlen); +.. c:function:: int mkostemps(FAR char *template, int suffixlen, int flags); Pathname Pattern Matching (``glob.h``) --------------------------------------
