Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2011 21:51:32 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r217854 - stable/7/lib/libc/sys
Message-ID:  <201101252151.p0PLpWYd052007@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Tue Jan 25 21:51:32 2011
New Revision: 217854
URL: http://svn.freebsd.org/changeset/base/217854

Log:
  MFC r217484: mknod(2): The required include is <sys/stat.h>, not <unistd.h>.
  
  This is what SUSv4 requires, and also the only thing that works if strict
  standards compliance is requested.
  
  PR:		standards/123688
  Submitted by:	gcooper

Modified:
  stable/7/lib/libc/sys/mknod.2
Directory Properties:
  stable/7/lib/libc/   (props changed)
  stable/7/lib/libc/stdtime/   (props changed)

Modified: stable/7/lib/libc/sys/mknod.2
==============================================================================
--- stable/7/lib/libc/sys/mknod.2	Tue Jan 25 21:45:00 2011	(r217853)
+++ stable/7/lib/libc/sys/mknod.2	Tue Jan 25 21:51:32 2011	(r217854)
@@ -28,7 +28,7 @@
 .\"     @(#)mknod.2	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd January 16, 2011
 .Dt MKNOD 2
 .Os
 .Sh NAME
@@ -37,7 +37,7 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In unistd.h
+.In sys/stat.h
 .Ft int
 .Fn mknod "const char *path" "mode_t mode" "dev_t dev"
 .Sh DESCRIPTION



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101252151.p0PLpWYd052007>