15 #define sio_assert(cond) arb_assert(cond)
22 for (i = 0; i<(size-1); ++i) {
23 int byte = fgetc(stream);
25 if (i == 0)
return NULp;
30 if (byte ==
'\n' || byte ==
'\r')
break;
59 while (*p ==
' ' || *p ==
'\t') p++;
61 int len = strlen(p)-1;
62 while (len >= 0 && strchr(
"\t \n\r", p[len])) {
67 char *e = strpbrk(p,
" \t");
73 e += strspn(e,
" \t");
76 char *k = strrchr(e,
'"');
bool read_string_pair(FILE *in, char *&s1, char *&s2, size_t &lineNr)
char buffer[MESSAGE_BUFFERSIZE]
char * fgets_smartLF(char *s, int size, FILE *stream)
GB_write_int const char s