| 44 | typedef struct { pc_env_value_t values[4]; bool saved; } pc_env_t; |
| 45 | |
| 46 | static bool pc_path(char *out, size_t cap, const char *base, const char *leaf) { |
| 47 | int n = snprintf(out, cap, "%s/%s", base, leaf); |
| 48 | return n > 0 && (size_t)n < cap; |
| 49 | } |
| 50 | static bool pc_write(const char *path, const char *text) { |
| 51 | FILE *f = cbm_fopen(path, "wb"); |
| 52 | if (!f) return false; |
no outgoing calls
no test coverage detected