Is there a chance to declare the prototype for setfib() somewhere in a system header?

Vlad Galu dudu at dudu.ro
Wed Jul 1 10:04:45 UTC 2009


On Wed, Jul 1, 2009 at 12:57 PM, pluknet<pluknet at gmail.com> wrote:
> 2009/7/1 Vlad Galu <dudu at 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
>

It would be great if the change to socket.h could be MFCed :) Thanks!


More information about the freebsd-net mailing list