NetBSD/sbin/sysctl
lukem ea56af7b9d Tweak behaviour introduced in rev 1.50;
*	by default, warning messages go to stderr
    *	if -A or -a is used, send warning messages to stdout instead.

The behaviour in 1.50 meant that
	somevar=`sysctl -n machdep.booted_kernel 2>/dev/null`
could end up with $somevar="machdep.booted_kernel: the value is not available"
rather than the more useful $somevar="".

(This way, "sysctl -A | grep ..." is still useful.)
2003-04-06 05:19:03 +00:00
..
Makefile tweaks for fparseln(3) move from libutil to libc: 2002-11-30 03:10:53 +00:00
pathconf.c Don't declare 'extern opt*' getopt variables. 2000-04-14 05:58:01 +00:00
sysctl.8 Consistent tab usage. 2003-03-17 08:00:38 +00:00
sysctl.c Tweak behaviour introduced in rev 1.50; 2003-04-06 05:19:03 +00:00