On errno

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Mar 30 13:02:57 PDT 2009


In message <20090330195003.GB73108 at hoeg.nl>, Ed Schouten writes:


>Create a new system call that allows you to obtain a more accurate error
>code afterwards. We should probably call this function GetLastError().

You have to produce the errorinformation on the spot, we don't want
to keep old error messages lingering in case people will ask for
them later.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list