GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QCFG / V1-0-4
Constituent: qcfg     Tag: sun-gcc
#include "QCFG_p.h"
#include "QCFG/QCFG_msgs.h"
#include "RIM/RIM.h"
#include "MSG/MSG_pubdefs.h"
#include "FBS/FBS_pubrtos.h"
#include "PBS/BSWP.h"
#include <fcntl.h>
#include <unistd.h>
Include dependency graph for QCFG_fio.c:
Functions | |
unsigned | QCFG_fioCreate (QCFG_fileParm *parm, const char *name) |
Create a file. | |
unsigned | QCFG_fioOpen (QCFG_fileParm *parm, const char *name) |
Open a file for reading. | |
unsigned | QCFG_fioClose (QCFG_fileParm *parm) |
Close a file. | |
unsigned | QCFG_fioReadRecd (void *vParm, unsigned *type, int *leng) |
Read a record header. | |
unsigned | QCFG_fioReadData (void *vParm, void *data, int leng, int *rLeng) |
Read record data. | |
unsigned | QCFG_fioWriteRecd (void *vParm, unsigned type, int leng) |
Write a record header. | |
unsigned | QCFG_fioWriteData (void *vParm, void *data, int leng) |
Write record data. |
|
Close a file.
|
|
Create a file. This routine creates a new file and writes version information. If the file already exists, it is overwritten.
|
|
Open a file for reading. This routine opens a file for reading and verifies the version information.
|
|
Read record data. This routine, designed to work in conjunction with RIM_export, reads data from an open file, making sure that it will not overflow the current record.
|
|
Read a record header. This routine, designed to work in conjunction with RIM_export, reads the next record header from an open file.
|
|
Write record data. This routine, designed to work in conjunction with RIM_export, writes data to an open file, checking that it will not overflow the current record.
|
|
Write a record header. This routine, designed to work in conjunction with RIM_export, writes a new record header to an open file, checking that the previous record was completely filled.
|