What is the domain of strerror()?

Colin Plumb w-colinp at microsoft.UUCP
Thu Apr 6 16:19:47 AEST 1989


The December 7 draft I have doesn't say anything about what the valid arguments
to strerror() are.  It says that strerror() maps the error number passed to
it to an error string, but I can't find any description of what a valid
error number is.  Any int?  Anything that any library function might put into
errno?  Any E* macro defined in <errno.h>?  sys_nerr (described in H&S) seems
to have vanished, so I don't see how I can impose any tighter bounds.

(Also, H&S uses CLK_TCK where the dpANS I've got uses CLOCKS_PER_SEC.
I presume CLOCKS_PER_SEC is the pANS name?)
-- 
	-Colin (uunet!microsoft!w-colinp)

"Don't listen to me.  I never do." - The Doctor



More information about the Comp.std.c mailing list