mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Make improvements
- Expand redbean UNIX module - Expand redbean documentation - Ensure Lua copyright is embedded in binary - Increase the PATH_MAX limit especially on NT - Use column major sorting for linenoise completions - Fix some suboptimalities in redbean's new UNIX API - Figured out right flags for Multics newline in raw mode
This commit is contained in:
parent
cf3174dc74
commit
2046c0d2ae
305 changed files with 6602 additions and 4221 deletions
|
@ -26,11 +26,11 @@
|
|||
int main(int argc, char *argv[]) {
|
||||
int i;
|
||||
for (i = 0; kDos2Errno[i].doscode; ++i) {
|
||||
kprintf("dos error %10hu maps to rva %10d errno %10d which is %s%n",
|
||||
kDos2Errno[i].doscode, kDos2Errno[i].systemv,
|
||||
*(const int *)((intptr_t)kDos2Errno + kDos2Errno[i].systemv),
|
||||
strerror_short(
|
||||
*(const int *)((intptr_t)kDos2Errno + kDos2Errno[i].systemv)));
|
||||
kprintf(
|
||||
"dos error %10hu maps to rva %10d errno %10d which is %s%n",
|
||||
kDos2Errno[i].doscode, kDos2Errno[i].systemv,
|
||||
*(const int *)((intptr_t)kDos2Errno + kDos2Errno[i].systemv),
|
||||
strerrno(*(const int *)((intptr_t)kDos2Errno + kDos2Errno[i].systemv)));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue