examples of programmatic use of sysctl

M. Warner Losh imp at bsdimp.com
Fri Oct 12 18:16:30 PDT 2007


In message: <2a41acea0710121611n4bb8d00egc104118cf7711537 at mail.gmail.com>
            "Jack Vogel" <jfvogel at gmail.com> writes:
: In my PTP/IEEE 1588 implementation I was considering using sysctl
: to pass data in and out of the driver and it needs to be from some app
: program not interactive.

Didn't want to pass it back via a socket/ioctl eh?

: I was just wondering if anyone can point me at anything besides the
: sysctl command that is doing this?

man sysctlbyname.

Warner


More information about the freebsd-current mailing list