diff --git a/man2/mkdirat.2 b/man2/mkdirat.2 index ff9390bf3..d97940b29 100644 --- a/man2/mkdirat.2 +++ b/man2/mkdirat.2 @@ -55,7 +55,9 @@ is relative and .I dirfd is the special value .BR AT_FDCWD , -then pathname is interpreted relative to the current working +then +.I pathname +is interpreted relative to the current working directory of the calling process (like .BR mkdir (2)). @@ -65,6 +67,7 @@ is absolute, then .I dirfd is ignored. .SH "RETURN VALUE" +On success, .BR mkdirat () returns 0. On error, \-1 is returned and diff --git a/man2/mknodat.2 b/man2/mknodat.2 index 6705d4756..00808243d 100644 --- a/man2/mknodat.2 +++ b/man2/mknodat.2 @@ -56,7 +56,9 @@ is relative and .I dirfd is the special value .BR AT_FDCWD , -then pathname is interpreted relative to the current working +then +.I pathname +is interpreted relative to the current working directory of the calling process (like .BR mknod (2)).