On Mon, Nov 25, 2013 at 3:35 AM, Venkata Duvvuru <
venkatkumar.duvv...@emulex.com> wrote:

> Hi,
> I'm unable to figure out how to add an unsigned short or an unsigned char
> values to a sysctl node.
> SYSCTL_ADD_INT, SYSCTL_ADD_UINT, etc., are present but to add a char or a
> short values I couldn't find any macros.
>
> Could you please let me know how to add them?
>

FreeBSD does not have any sysctl handlers for 1 or 2 byte values.  FreeBSD
code that wants to do this has used int or u_int instead of a smaller type.

Cheers,
matthew
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to