#include <assert.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include "rdd.h"
#include "rdd_internals.h"
#include "error.h"
#include "outfile.h"
Go to the source code of this file.
Functions | |
void | outfile_close (int fd, char *path) |
void | outfile_fclose (FILE *fp, char *path) |
int | outfile_fopen (FILE **fpp, const char *path, int force_overwrite) |
int | outfile_open (int *fdp, const char *path, int force_overwrite) |
static int | path_exists (const char *path, struct stat *info) |
Variables | |
static char | copyright [] |
void outfile_close | ( | int | fd, | |
char * | path | |||
) |
Definition at line 124 of file outfile.c.
References errlognl(), and unix_error().
void outfile_fclose | ( | FILE * | fp, | |
char * | path | |||
) |
Definition at line 146 of file outfile.c.
References outfile_close(), and unix_error().
int outfile_fopen | ( | FILE ** | fpp, | |
const char * | path, | |||
int | force_overwrite | |||
) |
Definition at line 103 of file outfile.c.
References outfile_open(), RDD_EOPEN, and RDD_OK.
int outfile_open | ( | int * | fdp, | |
const char * | path, | |||
int | force_overwrite | |||
) |
Definition at line 75 of file outfile.c.
References error(), path_exists(), RDD_OK, and unix_error().
static int path_exists | ( | const char * | path, | |
struct stat * | info | |||
) | [static] |
char copyright[] [static] |