NCEPLIBS-bufr  11.5.0
 All Data Structures Files Functions Variables Pages
cmpia.c
Go to the documentation of this file.
1 
6 #include "bufrlib.h"
7 
41 int cmpia( const void *pf1, const void *pf2 )
42 {
43  f77int *mypf1 = ( f77int * ) pf1;
44  f77int *mypf2 = ( f77int * ) pf2;
45 
46  if ( *mypf1 == *mypf2 ) return 0;
47 
48  return ( *mypf1 < *mypf2 ? -1 : 1 );
49 }
Define signatures to enable a number of BUFRLIB subprograms to be called directly from C application ...
int cmpia(const void *pf1, const void *pf2)
C C SUBPROGRAM: CMPIA C PRGMMR: ATOR ORG: NP12 DATE: 2009-03-23 C C ABSTRACT: THIS ROUTINE DEFINES A ...
Definition: cmpia.c:41