GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
write_scf(3) Staden Package write_scf(3)

write_scf, fwrite_scf, write_scf_header - Write SCF files

#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);

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.

On successful completion, the write_scf(), fwrite_scf() and write_scf_header() functions return 0. Otherwise these function returns -1.

scf(4), read_scf(3)

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.