GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QCFG / V0-0-2

Constituent: qcfg     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

fo_p.h File Reference

Wrapper functions to stdio calls for creating files. More...

#include "fio_p.h"

Include dependency graph for fo_p.h:

This graph shows which files directly or indirectly include this file:


Functions

unsigned file_create (int *fd, const char *name)
 Create a new file and insert version information.
unsigned file_finish (int fd)
 Closes the file.

Detailed Description

Wrapper functions to stdio calls for creating files.

Author:
James Swain -- jswain@slac.stanford.edu
history 06 Jul 2005: Created

Function Documentation

unsigned file_create int *  fd,
const char *  name
 

Create a new file and insert version information.

Parameters:
fd Pointer to the location to place the file descriptor
name Full pathname of the file to open
Return values:
QCFG_SUCCESS if the file opens successfully for writing
RIM_FILE_WRITE if writing the version information to the file fails
RIM_FILE_OPEN if the file fails to open

unsigned file_finish int  fd  ) 
 

Closes the file.

Parameters:
fd File descriptor of the file to close
Return values:
RIM_FILE_CLOSE if the file close failed
QCFG_SUCCESS if all goes well


Generated on Wed May 3 23:14:01 2006 by  doxygen 1.4.4