Searched refs:accept_extra_nl (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dfileio.c180 int verify_file(const char *fn, const char *blob, bool accept_extra_nl) { argument
190 if (accept_extra_nl && endswith(blob, "\n"))
191 accept_extra_nl = false;
193 buf = malloc(l + accept_extra_nl + 1);
203 k = fread(buf, 1, l + accept_extra_nl + 1, f);
207 if (k != l && k != l + accept_extra_nl)
H A Dfileio.h45 int verify_file(const char *fn, const char *blob, bool accept_extra_nl);

Completed in 948 milliseconds