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.
Greetings,
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)
.Sh RETURN VALUES
If the call to
.Nm
-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.
--
1.5.6.3
Home |
Main Index |
Thread Index |
Old Index