35void cwbmg(
char *bmg, f77int *nmb, f77int *iret )
42 if (
pbf[1] == NULL ) {
43 sprintf( errstr,
"BUFRLIB: CWBMG - NO FILE IS OPEN FOR WRITING" );
44 bort( errstr, ( f77int ) strlen( errstr ) );
49 *iret = ( ( fwrite( bmg, 1, *nmb,
pbf[1] ) == *nmb ) ? 0 : -1 );
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...
Define signatures to enable a number of BUFRLIB subprograms to be called directly from C application ...
Define signatures and declare variables for reading or writing BUFR messages via a C language interfa...
FILE * pbf[2]
File pointers.
void cwbmg(char *bmg, f77int *nmb, f77int *iret)
This subroutine writes a BUFR message to the system file that was opened via the most recent call to ...