Path: utzoo!attcan!uunet!microsoft!w-colinp From: w-colinp@microsoft.UUCP (Colin Plumb) Newsgroups: comp.std.c Subject: What is the domain of strerror()? Message-ID: <1249@microsoft.UUCP> Date: 6 Apr 89 06:19:47 GMT Reply-To: w-colinp@microsoft.uucp (Colin Plumb) Organization: very little Lines: 13 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 ? 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