1write_scf(3)                    Staden Package                    write_scf(3)
2
3
4

NAME

6       write_scf, fwrite_scf, write_scf_header - Write SCF files
7
8

SYNOPSIS

10       #include <scf.h>
11
12       int write_scf(
13            Scf *scf,
14            char *fn);
15
16       int fwrite_scf(
17            Scf *scf,
18            FILE *fp);
19
20       int write_scf_header(
21            FILE *fp,
22            Header *h);
23
24

DESCRIPTION

26       These functions write SCF format trace files. All the functions accept‐
27       ing a FILE * as an argument assume that the file pointer is at the cor‐
28       rect offset within the file, which should be the start.
29
30       write_scf()  writes  an entire SCF file into the Scf structure (see the
31       scf(4) manual page for the details of  this  structure).  The  data  is
32       written to the specified file name.
33
34       fwrite_scf()  writesan  entire SCF file into the Scf structure (see the
35       scf(4) manual page for the details of  this  structure).  The  data  is
36       written  to  the  specified  file  pointer,  which is neither closed or
37       rewound after the operation.
38
39       write_scf_header() writes the Header structure to  the  specified  file
40       pointer.
41
42

RETURN VALUES

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

SEE ALSO

50       scf(4), read_scf(3)
51
52
53
54                                                                  write_scf(3)
Impressum