inline links

This commit is contained in:
Nate Choe
2022-05-01 03:40:46 -05:00
parent 3a5abb2538
commit 0b134cabb2
3 changed files with 157 additions and 0 deletions

View File

@@ -77,3 +77,7 @@ int appendstrstring(struct string *str, char *s) {
void resetstring(struct string *str) {
str->len = 0;
}
int isctrl(int c) {
return (0 <= c && c <= 0x1f) || c == 0x7f;
}