src/outfile.c File Reference

#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"

Include dependency graph for outfile.c:

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 []


Function Documentation

void outfile_close ( int  fd,
char *  path 
)

Definition at line 124 of file outfile.c.

References errlognl(), and unix_error().

Here is the call graph for this function:

void outfile_fclose ( FILE *  fp,
char *  path 
)

Definition at line 146 of file outfile.c.

References outfile_close(), and unix_error().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

static int path_exists ( const char *  path,
struct stat *  info 
) [static]

Definition at line 65 of file outfile.c.


Variable Documentation

char copyright[] [static]

Initial value:

"@(#) Copyright (c) 2002\n\
    Netherlands Forensic Institute.  All rights reserved.\n"

Definition at line 39 of file outfile.c.


Generated on Sun Feb 6 12:36:19 2011 for rdd by  doxygen 1.5.6