On Sat, Feb 5, 2011 at 11:27 AM, Raphael Kubo da Costa <kub...@gmail.com> wrote:
> Hey there,
>
> I was working on some code that used devinfo(3). According to devinfo's
> man page, #including devinfo.h should be enough to use it. However, a
> program which only #includes devinfo.h fails due to stdint.h (or
> sys/types.h) not being included, thus giving me some errors about
> uint32_t and other types not being defined.
>
> A few headers in sys/, such as sys/rman.h, have the same problem.
>
> Is it a bug in the headers themselves or are the man pages just
> incorrect?

    I'd say it's the manpages probably because a lot of the types were
changed to POSIX integral types, and the manpages weren't updated.
Thanks!
-Garrett
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to