Module Name: src
Committed By: njoly
Date: Mon Feb 4 19:29:39 UTC 2013
Modified Files:
src/lib/libc/sys: posix_fadvise.2
Log Message:
According to the opengroup document [1], we should include fcntl.h (not
sys/fcntl.h) for posix_fadvise().
[1] http://pubs.opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/sys/posix_fadvise.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/posix_fadvise.2
diff -u src/lib/libc/sys/posix_fadvise.2:1.3 src/lib/libc/sys/posix_fadvise.2:1.4
--- src/lib/libc/sys/posix_fadvise.2:1.3 Tue Jun 9 11:21:33 2009
+++ src/lib/libc/sys/posix_fadvise.2 Mon Feb 4 19:29:38 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: posix_fadvise.2,v 1.3 2009/06/09 11:21:33 yamt Exp $
+.\" $NetBSD: posix_fadvise.2,v 1.4 2013/02/04 19:29:38 njoly Exp $
.\"
.\" Copyright (c)2006,2009 YAMAMOTO Takashi,
.\" All rights reserved.
@@ -36,7 +36,7 @@
.Lb libc
.\" ------------------------------------------------------------
.Sh SYNOPSIS
-.In sys/fcntl.h
+.In fcntl.h
.Ft int
.Fn posix_fadvise "int fd" "off_t offset" "off_t size" "int hint"
.\" ------------------------------------------------------------