Is there a chance to declare the prototype for setfib()
somewhere in a system header?
pluknet
pluknet at gmail.com
Wed Jul 1 09:57:56 UTC 2009
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
More information about the freebsd-net
mailing list