| 130 | } |
| 131 | |
| 132 | static void append_char(char *buf, size_t bufsz, size_t *pos, char ch) { |
| 133 | if (*pos < bufsz - 1) { |
| 134 | buf[*pos] = ch; |
| 135 | } |
| 136 | (*pos)++; |
| 137 | } |
| 138 | |
| 139 | static void append_raw(char *buf, size_t bufsz, size_t *pos, const char *s) { |
| 140 | if (!s) { |
no outgoing calls
no test coverage detected