Date: Sun, 16 Jan 2011 21:59:50 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217484 - head/lib/libc/sys Message-ID: <201101162159.p0GLxoAU078442@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jilles Date: Sun Jan 16 21:59:50 2011 New Revision: 217484 URL: http://svn.freebsd.org/changeset/base/217484 Log: 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 MFC after: 1 week Modified: head/lib/libc/sys/mknod.2 Modified: head/lib/libc/sys/mknod.2 ============================================================================== --- head/lib/libc/sys/mknod.2 Sun Jan 16 21:56:14 2011 (r217483) +++ head/lib/libc/sys/mknod.2 Sun Jan 16 21:59:50 2011 (r217484) @@ -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?201101162159.p0GLxoAU078442>