> my perspective is: absent clear knowledge of what programs are doing, attempts > to second guess them in a library function are perilous. let us be standards > compliant, and then at least any resulting holes are clearly the program's > fault.
such programs always deference the pointer. So I agree strongly with a NULL error, rather than something hacky like errno modification.