Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys According to the opengroup document [1], we sho...



details:   https://anonhg.NetBSD.org/src/rev/5db05895198a
branches:  trunk
changeset: 784639:5db05895198a
user:      njoly <njoly%NetBSD.org@localhost>
date:      Mon Feb 04 19:29:38 2013 +0000

description:
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

diffstat:

 lib/libc/sys/posix_fadvise.2 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ba687f01cf39 -r 5db05895198a lib/libc/sys/posix_fadvise.2
--- a/lib/libc/sys/posix_fadvise.2      Mon Feb 04 18:42:30 2013 +0000
+++ b/lib/libc/sys/posix_fadvise.2      Mon Feb 04 19:29:38 2013 +0000
@@ -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"
 .\" ------------------------------------------------------------



Home | Main Index | Thread Index | Old Index