[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: strerror(0) POSIX compliance
In article <20160324222716.d93feb1174a7d3218aa497fe%schemamania.org@localhost>,
James K. Lowden <tech-userlevel%netbsd.org@localhost> wrote:
>On Thu, 24 Mar 2016 17:09:50 +0000 (UTC)
>christos%astron.com@localhost (Christos Zoulas) wrote:
>>  There is at least one syscall stub that clears errno before the
>> syscall which I find bogus; can you guess which one?
>As penance, I checked and found quite a few that set errno to 0, but
>all in section 3. Must be looking in the wrong place?
:-) Yes, these are not syscalls. System calls are in section 2...
There are few stubs in c in libc/sys and others are in arch/, but
most are generated on the fly in assembly.
Main Index |
Thread Index |