NetCDF  4.8.1
derror.c File Reference
#include "config.h"
#include "ncdispatch.h"

Go to the source code of this file.

Functions

const char * nc_inq_libvers (void)
 Return the library version. More...
 
const char * nc_strerror (int ncerr1)
 Given an error number, return an error message. More...
 

Variables

static const char nc_libvers [] = PACKAGE_VERSION " of "__DATE__" "__TIME__" $"
 

Detailed Description

Error messages and library version.

These functions return the library version, and error messages.

Copyright 2018 University Corporation for Atmospheric Research/Unidata. See COPYRIGHT file for more info.

Definition in file derror.c.

Function Documentation

◆ nc_inq_libvers()

const char* nc_inq_libvers ( void  )

Return the library version.

Returns
short string that contains the version information for the library.

Definition at line 27 of file derror.c.