]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: Document mkdirat
authorArjun Shankar <arjun@redhat.com>
Wed, 4 Jun 2025 11:08:55 +0000 (13:08 +0200)
committerArjun Shankar <arjun@redhat.com>
Wed, 4 Jun 2025 18:17:04 +0000 (20:17 +0200)
Reviewed-by: Florian Weimer <fweimer@redhat.com>
manual/filesys.texi

index 17c15b54037e719d2b6ee64a5f8eb4574f3cdb9f..d8f362f3beda9b28e65823b1025c6908541697b5 100644 (file)
@@ -1964,6 +1964,17 @@ To use this function, your program should include the header file
 @pindex sys/stat.h
 @end deftypefun
 
+@deftypefun int mkdirat (int @var{filedes}, const char *@var{filename}, mode_t @var{mode})
+@standards{POSIX.1-2008, sys/stat.h}
+@comment Unaudited and therefore marked AC-Unsafe and AS-Unsafe by default
+@safety{@mtsafe{}@asunsafe{@asucorrupt{}}@acunsafe{@acucorrupt{}}}
+This function is a descriptor-relative version of the @code{mkdir}
+function above.  @xref{Descriptor-Relative Access}.
+
+Compared to @code{mkdir}, some additional error conditions can occur.
+@xref{Descriptor-Relative Access}.
+@end deftypefun
+
 @node File Attributes
 @section File Attributes
 
@@ -3877,7 +3888,6 @@ The @code{mkdtemp} function comes from OpenBSD.
 @c futimesat
 @c fstatat (there's a commented-out safety assessment for this one)
 @c statx
-@c mkdirat
 @c mkfifoat
 @c name_to_handle_at
 @c openat