[PATCH v3 3/6] manual: Document mkdirat
Florian Weimer
fweimer@redhat.com
Wed Jun 4 15:20:33 GMT 2025
* Arjun Shankar:
> ---
> manual/filesys.texi | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/manual/filesys.texi b/manual/filesys.texi
> index 17c15b5403..d8f362f3be 100644
> --- a/manual/filesys.texi
> +++ b/manual/filesys.texi
> @@ -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
Okay.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Thanks,
Florian
More information about the Libc-alpha
mailing list