logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

msr_duplicate - Duplicate an MSRecord structure

Author

       Chad Trabant
       IRIS Data Management Center

Libmseed API                                       2007/04/28                                   MSR_DUPLICATE(3)

Description

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

Name

       msr_duplicate - Duplicate an MSRecord structure

Return Value

msr_duplicate returns a pointer to an MSRecord on success and NULL on error.

See Also

ms_intro(3)

Synopsis

#include<libmseed.h>MSRecord*msr_duplicate(MSRecord*msr,flagdatadup);

See Also