Cleanup man page and -Wall cleaning.

This commit is contained in:
Steve Price 1996-12-14 06:04:06 +00:00
parent fb5cb2083a
commit ca64f95092
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20418
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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>