NCEPLIBS-bufr  12.0.0
arallocc.c File Reference

Dynamically allocate C language arrays. More...

#include "bufrlib.h"
#include "cread.h"
#include "mstabs.h"

Go to the source code of this file.

Macros

#define IN_ARALLOCC
 Macro to control whether certain variables are explicitly declared or referenced as extern. More...
 

Functions

void arallocc (void)
 Dynamically allocate C language arrays. More...
 

Detailed Description

Dynamically allocate C language arrays.

Author
J. Ator
Date
2014-12-04

Definition in file arallocc.c.

Macro Definition Documentation

◆ IN_ARALLOCC

#define IN_ARALLOCC

Macro to control whether certain variables are explicitly declared or referenced as extern.

Definition at line 10 of file arallocc.c.

Function Documentation

◆ arallocc()

void arallocc ( void  )

Dynamically allocate C language arrays.

This subroutine is called internally during the first call to subroutine openbf() from an application program, in order to dynamically allocate internal C language arrays based on parameter values set during one or more previous calls to function isetprm().

All memory allocated within this subroutine can be freed via a subsequent call to subroutine exitbufr().

Author
J. Ator
Date
2014-12-04

Definition at line 29 of file arallocc.c.

References bort_f(), cbbw_c, cbelem_c, cbmnem_c, cbscl_c, cbsref_c, cbunit_c, cdmnem_c, cdseq_c, ibfxyn_c, idefxy_c, idfxyn_c, igetprm_f(), lstpos, modv_maxcd::maxcd, modv_mxmtbb::mxmtbb, modv_mxmtbd::mxmtbd, ndelem_c, modv_nfiles::nfiles, and pb.