Nate Lawson <[EMAIL PROTECTED]> writes:
> What's the proper way to get a typedef for u_int?  Is there a doc
> somewhere on what we expect in terms of #defines for 3rd party application
> authors?

<sys/types.h> will give you a typedef, provided you aren't writing a
POSIX or X/Open application.  If you're writing a POSIX or X/Open
application (the only time __BSD_VISIBLE is false) you'll have to do
the typedef manually in your application.

u_int is undocumented and unportable, so it probably shouldn't be
used.  It's only 3 characters shorter than `unsigned' anyway.

Best regards,
Mike Barcroft

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to