Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 1998 11:30:21 -0600
From:      Warner Losh <imp@village.org>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Bogus errno twiddling by lstat... 
Message-ID:  <199806171730.LAA26858@harmony.village.org>
In-Reply-To: Your message of "Tue, 16 Jun 1998 23:55:32 -0000." <199806162355.QAA06852@usr02.primenet.com> 
References:  <199806162355.QAA06852@usr02.primenet.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199806162355.QAA06852@usr02.primenet.com> Terry Lambert writes:
: If "fred" exists in the current directory, you would expect that errno
: would not have been modified, and the output will be:

No.  When a system call returns success, the value of errno is
undefined.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806171730.LAA26858>