📄 mst_init.3
字号:
.TH MST_INIT 3 2006/10/10 "Libmseed API".SH DESCRIPTIONInitializing and freeing MSTrace and MSTraceGroup structures.SH SYNOPSIS.nf.B #include <libmseed.h>.BI "MSTrace *\fBmst_init\fP ( MSTrace *" mst " );.BI "void \fBmst_free\fP ( MSTrace **" ppmst " ); .BI "MSTraceGroup *\fBmst_initgroup\fP ( MSTraceGroup *" mstg " );.BI "void \fBmst_freegroup\fP ( MSTraceGroup **" ppmstg " ); .fi.SH DESCRIPTION\fBmst_init\fP will initialize a MSTrace structure. If the \fImst\fPparameter is NULL a new structure will be allocated. If the \fImst\fPparameter is not NULL the structure will be cleared and any memoryallocated for the MSTrace.datasamples and MSTrace.prvtptr members willbe freed.\fBmst_free\fP will free all memory associated with a MSTrace structureand set the structure pointer (*\fIppmst\fP) to 0. This includes anymemory pointed to by the \fIprvtptr\fP member of the MSTrace structure.\fBmst_initgroup\fP will initialize a MSTraceGroup structure. If the\fImstg\fP parameter is NULL a new structure will be allocated. Ifthe \fImstg\fP parameter is not NULL the structure will be cleared andany all associated MSTrace structures will be freed.\fBmst_freegroup\fP will free all memory associated with a MSTraceGroupstructure and set the structure pointer (*\fIppmstg\fP) to 0..SH RETURN VALUES\fBmst_init\fP returns a pointer to the MSTrace structure initialized onsuccess or NULL on error.\fBmst_initgroup\fP returns a pointer to the MSTraceGroup structureinitialized on success or NULL on error..SH SEE ALSO\fBms_intro(3)\fP..SH AUTHOR.nfChad TrabantIRIS Data Management Center.fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -