Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F172909734
D57578.id180138.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
269 B
Referenced Files
None
Subscribers
None
D57578.id180138.diff
View Options
diff --git a/sys/sys/ctype.h b/sys/sys/ctype.h
--- a/sys/sys/ctype.h
+++ b/sys/sys/ctype.h
@@ -87,6 +87,12 @@
return (c >= ' ' && c <= '~');
}
+static __inline int
+isgraph(int c)
+{
+ return (c != ' ' && isprint(c));
+}
+
static __inline int
toupper(int c)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 23, 12:53 AM (5 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39420237
Default Alt Text
D57578.id180138.diff (269 B)
Attached To
Mode
D57578: sys: Add `isgraph()` to <sys/ctype.h>
Attached
Detach File
Event Timeline
Log In to Comment