Loading src/lib/fs/files.c +3 −0 Original line number Diff line number Diff line Loading @@ -607,6 +607,9 @@ read_file_to_str_until_eof(int fd, size_t max_bytes_to_read, size_t *sz_out) * If <b>flags</b> & RFTS_BIN, open the file in binary mode. * If <b>flags</b> & RFTS_IGNORE_MISSING, don't warn if the file * doesn't exist. * * Unless the RFTS_BIN flag is set in <b>flags</b>, this function will strip * any CR characters in the return value on all platforms. */ /* * This function <em>may</em> return an erroneous result if the file Loading Loading
src/lib/fs/files.c +3 −0 Original line number Diff line number Diff line Loading @@ -607,6 +607,9 @@ read_file_to_str_until_eof(int fd, size_t max_bytes_to_read, size_t *sz_out) * If <b>flags</b> & RFTS_BIN, open the file in binary mode. * If <b>flags</b> & RFTS_IGNORE_MISSING, don't warn if the file * doesn't exist. * * Unless the RFTS_BIN flag is set in <b>flags</b>, this function will strip * any CR characters in the return value on all platforms. */ /* * This function <em>may</em> return an erroneous result if the file Loading