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

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 1, 2009 at 1:04 PM, Vlad Galu<dudu@dudu.ro> wrote:
> On Wed, Jul 1, 2009 at 12:57 PM, pluknet<pluknet@gmail.com> wrote:
>> 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 =A02009-07-01 13:50:07.000000000 +0400
>> +++ lib/libc/sys/setfib.2 =A0 =A0 =A0 2009-07-01 13:50:22.000000000 +040=
0
>> @@ -33,6 +33,7 @@
>> =A0.Sh LIBRARY
>> =A0.Lb libc
>> =A0.Sh SYNOPSIS
>> +.In sys/socket.h
>> =A0.Ft int
>> =A0.Fn setfib "int fib"
>> =A0.Sh DESCRIPTION
>>
>> --
>> wbr,
>> pluknet
>>
>
> It would be great if the change to socket.h could be MFCed :) Thanks!
>

I've submitted a PR, filed as misc/136216.



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