freebsd-skq/sbin/sysctl
bde 0911a23bee When we return from a "show" function without printing anything except
a warning, return 1 instead of 0 to indicate that we didn't print
anything, so that top-level callers don't print a spurious newline.
This is mainly to fix output formatting when stderr is redirected.  It
also helps in some cases when stderr is interleaved with stdout,
depending on the details of the interleaving (this program has the
usual null explicit support for syncing stderr with stdout).

Return 1 instead of -1 after printing the "malloc failed" warning, since
the return value is boolean.
2007-06-11 13:02:15 +00:00
..
Makefile
sysctl.8 -mdoc sweep. 2005-11-18 10:36:29 +00:00
sysctl.c When we return from a "show" function without printing anything except 2007-06-11 13:02:15 +00:00