NC_OUTPUT
_fsetmode(NC_OUTPUT(SP_PARM), "t");
_fsetmode(NC_OUTPUT(SP_PARM), "b");
if (write(fileno(NC_OUTPUT(SP_PARM)), &tmp, (size_t) 1) == -1)