#include "git-compat-util.h"
#include "parse.h"
#include "run-command.h"
#include "write-or-die.h"
void maybe_flush_or_die(FILE *f, const char *desc)
{ … }
void fprintf_or_die(FILE *f, const char *fmt, ...)
{ … }
static int maybe_fsync(int fd)
{ … }
void fsync_or_die(int fd, const char *msg)
{ … }
int fsync_component(enum fsync_component component, int fd)
{ … }
void fsync_component_or_die(enum fsync_component component, int fd, const char *msg)
{ … }
void write_or_die(int fd, const void *buf, size_t count)
{ … }
void fwrite_or_die(FILE *f, const void *buf, size_t count)
{ … }
void fflush_or_die(FILE *f)
{ … }