Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fwrite_scf(3) [debian man page]

write_scf(3)							  Staden Package						      write_scf(3)

NAME
write_scf, fwrite_scf, write_scf_header - Write SCF files SYNOPSIS
#include <scf.h> int write_scf( Scf *scf, char *fn); int fwrite_scf( Scf *scf, FILE *fp); int write_scf_header( FILE *fp, Header *h); DESCRIPTION
These functions write SCF format trace files. All the functions accepting a FILE * as an argument assume that the file pointer is at the correct offset within the file, which should be the start. write_scf() writes an entire SCF file into the Scf structure (see the scf(4) manual page for the details of this structure). The data is written to the specified file name. fwrite_scf() writesan entire SCF file into the Scf structure (see the scf(4) manual page for the details of this structure). The data is written to the specified file pointer, which is neither closed or rewound after the operation. write_scf_header() writes the Header structure to the specified file pointer. RETURN VALUES
On successful completion, the write_scf(), fwrite_scf() and write_scf_header() functions return 0. Otherwise these function returns -1. SEE ALSO
scf(4), read_scf(3) write_scf(3)

Check Out this Related Man Page

scf2read(3)							  Staden Package						       scf2read(3)

NAME
scf2read, read2scf, exp2read, read2exp - Translate to and from the Read structure. SYNOPSIS
#include <Read.h> Read *scf2read( Scf *scf); Scf *read2scf( Read *read); Exp_info *read2exp( Read *read, char *EN); Read *exp2read( Exp_info *e); DESCRIPTION
These functions are used internally by the io library for converting between the in memory representations of the supported file formats. The Read structure is the central format so only conversion to and from this structure is available. Conversions consist of to and from the SCF format and to and from the Experiment File format. scf2read() converts an Scf structure into a Read structure. The Read structure is allocated by the function. The Scf structure is left unchanged. read2scf() converts a Read structure into an Scf structure. The Scf structure is allocated by the function. The Read structure is left unchanged. exp2read() converts an Exp_info structure into a Read structure. The entryname to use in the EN line type of the Experiment File must be specified. The Read structure is allocated by the function. The Exp_info structure is left unchanged. read2exp() converts a Read structure into an Exp_info structure. The Exp_info structure is allocated by the function. The Read structure is left unchanged. RETURN VALUES
On successful completion, the scf2read() and exp2read functions return a pointer to an allocated Read structure. Otherwise these functions return NULLRead. On successful completion, the read2scf function returns a pointer to an allocated Scf structure. Otherwise this function returns a null pointer. On successful completion, the read2exp function returns a pointer to an allocated Exp_info structure. Otherwise this function returns a null pointer. SEE ALSO
read_reading(3), fread_reading(3), write_reading(3), fwrite_reading(3), scf(4), ExperimentFile(4) scf2read(3)
Man Page