1MSR_DUPLICATE(3)           Library Functions Manual           MSR_DUPLICATE(3)
2
3
4

NAME

6       msr_duplicate - Duplicate an MSRecord structure
7
8

SYNOPSIS

10       #include <libmseed.h>
11
12       MSRecord *msr_duplicate ( MSRecord *msr, flag datadup );
13
14

DESCRIPTION

16       msr_duplicate  creates  a  copy  of an MSRecord structure including all
17       sub-structures (FSDH and blockette chain).  If the datadup flag is true
18       the  data  samples from msr will also be duplicated, otherwise the copy
19       MSRecord will not have any associated data sample array  regardless  if
20       the source MSRecord had any.
21
22

RETURN VALUE

24       msr_dupliate  returns  a  pointer to an MSRecord on success and NULL on
25       error.
26
27

SEE ALSO

29       ms_intro(3)
30
31

AUTHOR

33       Chad Trabant
34       IRIS Data Management Center
35
36
37
38Libmseed API                      2007/04/28                  MSR_DUPLICATE(3)
Impressum