netcdf-c/ncdump/expected4/ref_tst_nul4.dmp
dmh 10b0ac536f [NCF-267]/SAI-630695
Add support for embedded NUL characters
in character arrays and added some test cases.

Note that embedded NULs in netcdf-4
string constants are still illegal. This is
because strings are not counted in the netcdf
API, so they are implicitly NUL terminated.
2013-09-23 17:11:59 -06:00

10 lines
103 B
Plaintext

netcdf ref_tst_nul4 {
dimensions:
n = 8 ;
variables:
char cdata(n) ;
data:
cdata = "abc\000def" ;
}