Article View: comp.std.c
Article #5878What is the domain of strerror()?
From: Colin Plumb
Date: Thu, 06 Apr 1989 06:19
Date: Thu, 06 Apr 1989 06:19
13 lines
981 bytes
981 bytes
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
Technical Details
Message-ID:
<1249@microsoft.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!microsoft!w-colinpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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