Date: Wed, 7 Jul 1999 21:25:36 -0400 (EDT) From: "Brian F. Feldman" <green@FreeBSD.org> To: hackers@FreeBSD.org Subject: sysctl question Message-ID: <Pine.BSF.4.10.9907072119300.35883-100000@janus.syracuse.net>
index | next in thread | raw e-mail
How do I set up a sysctl so that I may pass in a two pointers:
one to pass in some data
another to receive some data
? Is it possible? Otherwise, I think I should just do something with passing
in an arbitrary data buffer (pointer to, rather) which contains the data
necessary on entrance on exit will receive the (other type) of data as
output. Right now, I have myself confused with the sysctl interface and
I'm attempting to use oldptr, oldlen, newptr, and newlen all at the same
time which is definitely wrong.
Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___
green@FreeBSD.org _ __ ___ | _ ) __| \
FreeBSD: The Power to Serve! _ __ | _ \._ \ |) |
http://www.FreeBSD.org/ _ |___/___/___/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907072119300.35883-100000>
