Hi Conrad,

[ + Christian Schwarz ]

2016-12-15 21:00 GMT+01:00 Conrad Meyer <c...@freebsd.org>:
> Can we please slap names on these numbers?  Even if we keep the
> existing numeric values?

Christian and I exchanged some emails the other day in which we
discussed the option of adding libc wrappers/bindings for all of these
functions. That way these constants would only be hardcoded in two
places: kern_sysctl.c and the function in libc.

That said, adding numerical constants for them in sysctl.h would also
be a good idea. Right now there is already CTL_UNSPEC, but I guess
that should be renamed to something like CTL_INTERNAL or something.

-- 
Ed Schouten <e...@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to