| 149 | } |
| 150 | |
| 151 | static void append_char(char *buf, size_t bufsz, size_t *pos, char ch) { |
| 152 | if (*pos < bufsz - 1) { |
| 153 | buf[*pos] = ch; |
| 154 | } |
| 155 | (*pos)++; |
| 156 | } |
| 157 | |
| 158 | static void append_raw(char *buf, size_t bufsz, size_t *pos, const char *s) { |
| 159 | if (!s) { |
no outgoing calls
no test coverage detected