Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2011 21:45:00 +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-8@freebsd.org
Subject:   svn commit: r217853 - stable/8/lib/libc/sys
Message-ID:  <201101252145.p0PLj0TI051805@svn.freebsd.org>

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

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 or mknodat() is needed.
  
  PR:		standards/123688
  Submitted by:	gcooper

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

Modified: stable/8/lib/libc/sys/mknod.2
==============================================================================
--- stable/8/lib/libc/sys/mknod.2	Tue Jan 25 21:42:05 2011	(r217852)
+++ stable/8/lib/libc/sys/mknod.2	Tue Jan 25 21:45:00 2011	(r217853)
@@ -28,7 +28,7 @@
 .\"     @(#)mknod.2	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd April 10, 2008
+.Dd January 16, 2011
 .Dt MKNOD 2
 .Os
 .Sh NAME
@@ -38,7 +38,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"
 .Ft int



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