// Same as read_tempfile_and_close(), without the close.
bool read_tempfile(int fd, std::string *contents);
-// Close a file descriptor, taking care of EINTR on the way.
-// log_perror() if it fails; apart from that, behaves as close().
-int safe_close(int fd);
-
#endif // !defined(_UTIL_H