From: Michael Kerrisk Date: Thu, 22 Oct 2020 17:33:04 +0000 (+0200) Subject: list.3, slist.3, strcmp.3: tfix X-Git-Tag: man-pages-5.09~118 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a45701ef7270eff9d3e14a9ee09f7aac89b57fb1;p=thirdparty%2Fman-pages.git list.3, slist.3, strcmp.3: tfix Signed-off-by: Michael Kerrisk --- diff --git a/man3/list.3 b/man3/list.3 index 0cbccfe00a..858652b983 100644 --- a/man3/list.3 +++ b/man3/list.3 @@ -257,7 +257,7 @@ from the list. .\" .IR head2 . .SH RETURN VALUE .BR LIST_EMPTY () -returns non-zero if the list is empty, +returns nonzero if the list is empty, and zero if the list contains at least one entry. .PP .BR LIST_FIRST (), diff --git a/man3/slist.3 b/man3/slist.3 index 7a8078de05..b54c05da35 100644 --- a/man3/slist.3 +++ b/man3/slist.3 @@ -263,7 +263,7 @@ from the list. .\" .IR head2 . .SH RETURN VALUE .BR SLIST_EMPTY () -returns non-zero if the list is empty, +returns nonzero if the list is empty, and zero if the list contains at least one entry. .PP .BR SLIST_FIRST (), diff --git a/man3/strcmp.3 b/man3/strcmp.3 index aba2e1ecc6..b4e70356e3 100644 --- a/man3/strcmp.3 +++ b/man3/strcmp.3 @@ -112,7 +112,7 @@ POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. POSIX.1 specifies only that: .RS .PP -The sign of a non-zero return value shall be determined by the sign +The sign of a nonzero return value shall be determined by the sign of the difference between the values of the first pair of bytes (both interpreted as type .IR "unsigned char" )