diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
commit | 932e4432596447eb9331cc2a2bb74a26a35b4efc (patch) | |
tree | 95161711ea07fd64f0c82d6e7943024c033dd5a8 /upstream/opensuse-tumbleweed/man2/mkdir.2 | |
parent | Adding debian version 4.22.0-1. (diff) | |
download | manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.tar.xz manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.zip |
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/opensuse-tumbleweed/man2/mkdir.2')
-rw-r--r-- | upstream/opensuse-tumbleweed/man2/mkdir.2 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/upstream/opensuse-tumbleweed/man2/mkdir.2 b/upstream/opensuse-tumbleweed/man2/mkdir.2 index c3342bdb..132195f8 100644 --- a/upstream/opensuse-tumbleweed/man2/mkdir.2 +++ b/upstream/opensuse-tumbleweed/man2/mkdir.2 @@ -5,7 +5,7 @@ .\" .\" SPDX-License-Identifier: GPL-1.0-or-later .\" -.TH mkdir 2 2023-03-30 "Linux man-pages 6.05.01" +.TH mkdir 2 2024-05-02 "Linux man-pages (unreleased)" .SH NAME mkdir, mkdirat \- create a directory .SH LIBRARY @@ -15,20 +15,20 @@ Standard C library .nf .B #include <sys/stat.h> .\" .B #include <unistd.h> -.PP +.P .BI "int mkdir(const char *" pathname ", mode_t " mode ); -.PP +.P .BR "#include <fcntl.h> " "/* Definition of AT_* constants */" .B #include <sys/stat.h> -.PP +.P .BI "int mkdirat(int " dirfd ", const char *" pathname ", mode_t " mode ); .fi -.PP +.P .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR mkdirat (): .nf Since glibc 2.10: @@ -40,7 +40,7 @@ Feature Test Macro Requirements for glibc (see .BR mkdir () attempts to create a directory named .IR pathname . -.PP +.P The argument .I mode specifies the mode for the new directory (see @@ -54,7 +54,7 @@ Whether other .I mode bits are honored for the created directory depends on the operating system. For Linux, see NOTES below. -.PP +.P The newly created directory will be owned by the effective user ID of the process. If the directory containing the file has the set-group-ID @@ -64,7 +64,7 @@ or, synonymously .IR "mount \-o grpid" ), the new directory will inherit the group ownership from its parent; otherwise it will be owned by the effective group ID of the process. -.PP +.P If the parent directory has the set-group-ID bit set, then so will the newly created directory. .\" @@ -75,7 +75,7 @@ The system call operates in exactly the same way as .BR mkdir (), except for the differences described here. -.PP +.P If the pathname given in .I pathname is relative, then it is interpreted relative to the directory @@ -85,7 +85,7 @@ referred to by the file descriptor the calling process, as is done by .BR mkdir () for a relative pathname). -.PP +.P If .I pathname is relative and @@ -97,13 +97,13 @@ then is interpreted relative to the current working directory of the calling process (like .BR mkdir ()). -.PP +.P If .I pathname is absolute, then .I dirfd is ignored. -.PP +.P See .BR openat (2) for an explanation of the need for |