Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173173247
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
Fri, Sep 25, 2:38 AM (17 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39570121
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