Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Document that mkdir("/", x) returns EISDIR. Acc...
details: https://anonhg.NetBSD.org/src/rev/28248f12ae84
branches: trunk
changeset: 584430:28248f12ae84
user: christos <christos%NetBSD.org@localhost>
date: Sat Sep 17 06:08:03 2005 +0000
description:
Document that mkdir("/", x) returns EISDIR. According to POSIX this is not
an allowed error, but we return EIO and EDQUOT also which are not in POSIX
either.
diffstat:
lib/libc/sys/mkdir.2 | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 82f5b4a6f3fd -r 28248f12ae84 lib/libc/sys/mkdir.2
--- a/lib/libc/sys/mkdir.2 Sat Sep 17 06:05:04 2005 +0000
+++ b/lib/libc/sys/mkdir.2 Sat Sep 17 06:08:03 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: mkdir.2,v 1.21 2004/05/13 10:20:58 wiz Exp $
+.\" $NetBSD: mkdir.2,v 1.22 2005/09/17 06:08:03 christos Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)mkdir.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd December 11, 1993
+.Dd September 17, 2005
.Dt MKDIR 2
.Os
.Sh NAME
@@ -79,6 +79,9 @@
The named file resides on a read-only file system.
.It Bq Er EEXIST
The named file exists.
+.It Bq Er EISDIR
+Attempt to create
+.Dq / .
.It Bq Er ENOSPC
The new directory cannot be created because there is no space left
on the file system that will contain the directory.
Home |
Main Index |
Thread Index |
Old Index