Per XPG4.2, move mknod() prototype from <unistd.h> to <sys/stat.h>.

This commit is contained in:
kleink 1997-11-02 17:16:48 +00:00
parent 340f2cd85b
commit ae0ad1a554
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: unistd.h,v 1.42 1997/10/16 23:26:24 christos Exp $ */
/* $NetBSD: unistd.h,v 1.43 1997/11/02 17:16:50 kleink Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@ -130,7 +130,6 @@ char *getwd __P((char *)); /* obsoleted by getcwd() */
int initgroups __P((const char *, gid_t));
int iruserok __P((u_int32_t, int, const char *, const char *));
int lchown __P((const char *, uid_t, gid_t));
int mknod __P((const char *, mode_t, dev_t));
int mkstemp __P((char *));
char *mktemp __P((char *));
int nfssvc __P((int, void *));

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mknod.2,v 1.6 1995/02/27 12:34:33 cgd Exp $
.\" $NetBSD: mknod.2,v 1.7 1997/11/02 17:16:48 kleink Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -40,7 +40,7 @@
.Nm mknod
.Nd make a special file node
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Fd #include <sys/stat.h>
.Ft int
.Fn mknod "const char *path" "mode_t mode" "dev_t dev"
.Sh DESCRIPTION

View File

@ -1,4 +1,4 @@
/* $NetBSD: stat.h,v 1.27 1997/10/22 00:51:59 fvdl Exp $ */
/* $NetBSD: stat.h,v 1.28 1997/11/02 17:16:51 kleink Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
@ -232,6 +232,7 @@ int chflags __P((const char *, u_long));
int fchflags __P((int, u_long));
int fchmod __P((int, mode_t));
int lchmod __P((const char *, mode_t));
int mknod __P((const char *, mode_t, dev_t));
#ifdef __LIBC12_SOURCE__
int lstat __P((const char *, struct stat12 *));
int __lstat13 __P((const char *, struct stat *));