summaryrefslogtreecommitdiffstats
path: root/bin/mkdir
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-12-14 06:04:06 +0000
committersteve <steve@FreeBSD.org>1996-12-14 06:04:06 +0000
commit69e648985f258dc0f75c905b5a671ca4a469a279 (patch)
treecacd09d4a0fefa21d161d06354abd2e4be1f3c12 /bin/mkdir
parent69ca26a30523449bee72a8ea347bfcc2b42d077c (diff)
downloadFreeBSD-src-69e648985f258dc0f75c905b5a671ca4a469a279.zip
FreeBSD-src-69e648985f258dc0f75c905b5a671ca4a469a279.tar.gz
Cleanup man page and -Wall cleaning.
Diffstat (limited to 'bin/mkdir')
-rw-r--r--bin/mkdir/mkdir.16
-rw-r--r--bin/mkdir/mkdir.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/bin/mkdir/mkdir.1 b/bin/mkdir/mkdir.1
index 50cc3ef..23a8ef4 100644
--- a/bin/mkdir/mkdir.1
+++ b/bin/mkdir/mkdir.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)mkdir.1 8.2 (Berkeley) 1/25/94
-.\" $Id: mkdir.1,v 1.2 1994/09/24 02:56:02 davidg Exp $
+.\" $Id: mkdir.1,v 1.3 1996/08/29 18:06:01 wosch Exp $
.\"
.Dd January 25, 1994
.Dt MKDIR 1
@@ -47,7 +47,7 @@
.Op Fl m Ar mode
.Ar directory_name ...
.Sh DESCRIPTION
-.Nm Mkdir
+.Nm
creates the directories named as operands, in the order specified,
using mode
.Li rwxrwxrwx (\&0777)
@@ -81,7 +81,7 @@ permission for the owner.
.Pp
The user must have write permission in the parent directory.
.Pp
-.Nm Mkdir
+.Nm
exits 0 if successful, and >0 if an error occurred.
.Sh SEE ALSO
.Xr rmdir 1
diff --git a/bin/mkdir/mkdir.c b/bin/mkdir/mkdir.c
index d5fe7e5..a94c6f2 100644
--- a/bin/mkdir/mkdir.c
+++ b/bin/mkdir/mkdir.c
@@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: mkdir.c,v 1.5 1994/09/24 02:56:03 davidg Exp $
*/
#ifndef lint
-static char copyright[] =
+static char const copyright[] =
"@(#) Copyright (c) 1983, 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
+static char const sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
#endif /* not lint */
#include <sys/types.h>
OpenPOWER on IntegriCloud