NCEPLIBS-bufr  12.0.0
wrdesc.c File Reference

Maintain an array of descriptors. More...

#include "bufrlib.h"

Go to the source code of this file.

Functions

void wrdesc (int desc, int *descary, int *ndescary)
 Maintain an array of descriptors. More...
 

Detailed Description

Maintain an array of descriptors.

Author
J. Ator
Date
2004-08-18

Definition in file wrdesc.c.

Function Documentation

◆ wrdesc()

void wrdesc ( int  desc,
int *  descary,
int *  ndescary 
)

Maintain an array of descriptors.

Given the WMO bit-wise representation of a descriptor, this routine adds it to an ongoing array of descriptors, after first making sure that there is enough room in the array.

If an array overflow occurs, then an appropriate error message will be written via bort().

Parameters
desc- WMO bit-wise representation of descriptor to be written into descary.
descary- Array of descriptors.
ndescary- Number of descriptors written so far into descary.
Author
J. Ator
Date
2004-08-18

Definition at line 27 of file wrdesc.c.

References bort_f(), and MAXNC.

Referenced by restd().