tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH] documentation bug in the manpage sysctl(3) fixed

Yes, it seems to be a documentation bug. Here is the patch.


Ilya Dogolazky

 lib/libc/gen/sysctl.3 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index bcd8f5d..cb9e9ba 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -621,7 +621,7 @@ by processes)
 If the call to
-is successful, the number of bytes copied out is returned.
+is successful, 0 is returned.
 Otherwise \-1 is returned and
 .Va errno
 is set appropriately.

Home | Main Index | Thread Index | Old Index