From 198f17ca19fbc891b9d4e632dc3d18e6cab58001 Mon Sep 17 00:00:00 2001 From: schwarze Date: Tue, 29 Jun 2021 16:34:52 +0000 Subject: [PATCH] more precision because the argument is signed, and even char is signed on some platforms; OK millert@ jmc@ --- lib/libc/gen/isascii.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/gen/isascii.3 b/lib/libc/gen/isascii.3 index bf391040b9e..8df4f24d4b9 100644 --- a/lib/libc/gen/isascii.3 +++ b/lib/libc/gen/isascii.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isascii.3,v 1.14 2021/06/12 16:53:28 jmc Exp $ +.\" $OpenBSD: isascii.3,v 1.15 2021/06/29 16:34:52 schwarze Exp $ .\" .\" Copyright (c) 1989, 1991 The Regents of the University of California. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 12 2021 $ +.Dd $Mdocdate: June 29 2021 $ .Dt ISASCII 3 .Os .Sh NAME @@ -41,7 +41,7 @@ The .Fn isascii function tests for an ASCII character, -which is any character with a value less than or equal to 0177. +which is any character in the range from 0 to 0177, inclusive. .Sh RETURN VALUES The .Fn isascii -- 2.20.1