tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: strerror(0) POSIX compliance

In article <>,
James K. Lowden <> wrote:
>On Thu, 24 Mar 2016 17:09:50 +0000 (UTC)
> (Christos Zoulas) wrote:
>> [1] 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.


Home | Main Index | Thread Index | Old Index