Newer
Older
ubixos / Dump / hybos / lib / char / ispunct.c
@Christopher W. Olsen Christopher W. Olsen on 5 Nov 2018 161 bytes Sync
#include <stdbool.h>

bool ispunct(const char c)
{
	return ((c >= '!' && c<= '/') || (c >= ':' && c<= '@') || (c >= '[' && c<= '`') || (c >= '{' && c<= '~'));
}