Home
last modified time | relevance | path

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

/systemd-251/src/basic/
Dfileio.c367 int verify_file(const char *fn, const char *blob, bool accept_extra_nl) { in verify_file() argument
378 if (accept_extra_nl && endswith(blob, "\n")) in verify_file()
379 accept_extra_nl = false; in verify_file()
381 buf = malloc(l + accept_extra_nl + 1); in verify_file()
391 k = fread(buf, 1, l + accept_extra_nl + 1, f); in verify_file()
395 if (k != l && k != l + accept_extra_nl) in verify_file()
Dfileio.h85 int verify_file(const char *fn, const char *blob, bool accept_extra_nl);