contents 81 include/crm/common/internal.h int pcmk__file_contents(const char *filename, char **contents); contents 82 include/crm/common/internal.h int pcmk__write_sync(int fd, const char *contents); contents 431 lib/common/io.c pcmk__file_contents(const char *filename, char **contents) contents 437 lib/common/io.c if ((filename == NULL) || (contents == NULL)) { contents 454 lib/common/io.c *contents = NULL; contents 456 lib/common/io.c *contents = calloc(length + 1, sizeof(char)); contents 457 lib/common/io.c if (*contents == NULL) { contents 462 lib/common/io.c read_len = fread(*contents, 1, length, fp); /* Coverity: False positive */ contents 464 lib/common/io.c free(*contents); contents 465 lib/common/io.c *contents = NULL; contents 487 lib/common/io.c pcmk__write_sync(int fd, const char *contents) contents 495 lib/common/io.c if ((contents != NULL) && (fprintf(fp, "%s", contents) < 0)) {