[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV How do I clear errno?
From: |
David Woolley |
Subject: |
Re: LYNX-DEV How do I clear errno? |
Date: |
Fri, 3 Apr 1998 08:20:48 +0100 (BST) |
>
> I know this is not really 100% Lynx relevant ... but, how on earth does
> one clear errno after say a failed strtol () .. clearerr is to be
> associated with a file pointer?
errno = 0;
But as said elsewhere, no-one would normally do this; you may even find that
it becomes set by library calls, with no error propagated to the top level.