diff options
Diffstat (limited to 'lib/libc/sys/mkdir.2')
-rw-r--r-- | lib/libc/sys/mkdir.2 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/mkdir.2 b/lib/libc/sys/mkdir.2 index 4301495e88c..40997c077a0 100644 --- a/lib/libc/sys/mkdir.2 +++ b/lib/libc/sys/mkdir.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mkdir.2,v 1.5 1999/05/23 14:10:54 aaron Exp $ +.\" $OpenBSD: mkdir.2,v 1.6 1999/06/29 14:10:06 aaron Exp $ .\" $NetBSD: mkdir.2,v 1.8 1995/02/27 12:34:22 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -58,7 +58,7 @@ The directory's owner ID is set to the process's effective user ID. The directory's group ID is set to that of the parent directory in which it is created. .Sh RETURN VALUES -A 0 return value indicates success. A -1 return value +A 0 return value indicates success. A \-1 return value indicates an error, and an error code is stored in .Va errno . .Sh ERRORS @@ -68,9 +68,9 @@ will fail and no directory will be created if: .It Bq Er ENOTDIR A component of the path prefix is not a directory. .It Bq Er ENAMETOOLONG -A component of a pathname exceeded +A component of a pathname exceeded .Dv {NAME_MAX} -characters, or an entire path name exceeded +characters, or an entire path name exceeded .Dv {PATH_MAX} characters. .It Bq Er ENOENT @@ -109,7 +109,7 @@ points outside the process's allocated address space. .Xr stat 2 , .Xr umask 2 .Sh STANDARDS -The +The .Fn mkdir -function conforms to +function conforms to .St -p1003.1-88 . |