Mike Pritchard e145373611 Fix the sysctl string routines to return as much of the
string as possible and return ENOMEM if the entire string cannot
be returned.  This brings the routines in line with how the man
page says they work, and how the calling routines are expecting
them to work.  This allows the dummy uname() routine in libc to
obtain the version string, since the kernel version string is
longer than that normally returned by the uname() routine.
This is 3/4 of the fix for PR# 462.

Reviewed by: Bruce Evans
1995-07-31 10:07:31 +00:00
..
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-07-29 18:21:48 +00:00
1995-05-30 05:05:38 +00:00