Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2009 13:57:54 +0400
From:      pluknet <pluknet@gmail.com>
To:        Vlad Galu <dudu@dudu.ro>, Xin LI <delphij@delphij.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Is there a chance to declare the prototype for setfib() somewhere in a system header?
Message-ID:  <a31046fc0907010257v5a1f5161pa027eb70d1d6a839@mail.gmail.com>
In-Reply-To: <ad79ad6b0907010206x4c7833b7r508fb725fccc35b8@mail.gmail.com>
References:  <ad79ad6b0907010206x4c7833b7r508fb725fccc35b8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/1 Vlad Galu <dudu@dudu.ro>:
> Right now, to be able to compile with g++ (not gcc), I have to declare
> it in a "extern <<C>>" scope.


setfib() is declared in -current only in sys/socket.h (r1.102).

Can some please correct setfib(2) manpage?

--- lib/libc/sys/setfib.2.orig  2009-07-01 13:50:07.000000000 +0400
+++ lib/libc/sys/setfib.2       2009-07-01 13:50:22.000000000 +0400
@@ -33,6 +33,7 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
+.In sys/socket.h
 .Ft int
 .Fn setfib "int fib"
 .Sh DESCRIPTION

-- 
wbr,
pluknet



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