NCEPLIBS-g2c  1.8.0
g2c_index.c File Reference

Print a summary of a GRIB1 or GRIB2 index file. More...

#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <grib2.h>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Print a summary of a GRIB1 or GRIB2 index file. More...
 

Detailed Description

Print a summary of a GRIB1 or GRIB2 index file.

Author
Ed Hartnett
Date
12/29/22

Definition in file g2c_index.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Print a summary of a GRIB1 or GRIB2 index file.

Parameters
argcNumber of arguments.
argvPointer to array of arguments.
Returns
  • 0 success
  • 1 otherwise
Author
Ed Hartnett
Date
9/10/23

Definition at line 26 of file g2c_index.c.

References G2C_ENOMEM, G2C_ERROR, and G2C_VERSION.