Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-04 | ape: return plan9 error strings from strerror() | cinap_lenrek | |
when _syserrno() fails to map a plan9 error string to a unix error number, we copy the plan9 error string to the per process error buffer "plan9err" and set errno = EPLAN9. when strerror() is called with EPLAN9, it returns a pointer to the plan9err buffer. | |||
2013-03-11 | ape: threadsafe errno | cinap_lenrek | |
store errno on the private process stack so its always per process and not just per memory space. errno itself becomes a macro dereferencing int *_errnoloc; which is initialized from main9.s pointing to the private stack location. various fixes in programs that just imported errno variable with "extern int errno;" instead of including <errno.h>. | |||
2012-12-03 | ape: initialize _tos and use _tos->pid for getpid() | cinap_lenrek | |
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |