cosmopolitan/libc/calls
Justine Tunney 0e85b136ae Fix Windows 7 support (#19)
This change pays off technical debt with the function -> DLL mappings in
libc/nt/master.sh, which was originally defined based on binary analysis
on Windows 10. It's now been updated so the kernel32/kernelbase/advapi32
imports should be exactly as they are written, on the MSDN documentation
and that wouldn't have been easy without Geoff Chappell's work thank him

https://www.geoffchappell.com/studies/windows/win32/index.htm
2020-12-28 13:52:02 -08:00
..
hefty Fix Windows 7 support (#19) 2020-12-28 13:52:02 -08:00
struct Add chibicc 2020-12-06 16:20:21 -08:00
thunks Change license 2020-12-27 17:18:44 -08:00
typedef Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
access.c Change license 2020-12-27 17:18:44 -08:00
atfork.c Change license 2020-12-27 17:18:44 -08:00
calls.h Make minor improvements 2020-12-23 23:42:56 -08:00
calls.mk Fix Windows 7 support (#19) 2020-12-28 13:52:02 -08:00
chdir-nt.c Change license 2020-12-27 17:18:44 -08:00
chdir.c Change license 2020-12-27 17:18:44 -08:00
chmod.c Change license 2020-12-27 17:18:44 -08:00
chown.c Change license 2020-12-27 17:18:44 -08:00
clock.c Change license 2020-12-27 17:18:44 -08:00
clock_gettime.c Change license 2020-12-27 17:18:44 -08:00
close-nt.c Change license 2020-12-27 17:18:44 -08:00
close.c Change license 2020-12-27 17:18:44 -08:00
commandv.c Change license 2020-12-27 17:18:44 -08:00
copyfd.c Change license 2020-12-27 17:18:44 -08:00
creat.c Change license 2020-12-27 17:18:44 -08:00
dprintf.c Change license 2020-12-27 17:18:44 -08:00
dtime.c Change license 2020-12-27 17:18:44 -08:00
dup-nt.c Change license 2020-12-27 17:18:44 -08:00
dup.c Change license 2020-12-27 17:18:44 -08:00
dup2.c Change license 2020-12-27 17:18:44 -08:00
dup3-sysv.c Change license 2020-12-27 17:18:44 -08:00
dup3.c Change license 2020-12-27 17:18:44 -08:00
faccessat-nt.c Change license 2020-12-27 17:18:44 -08:00
faccessat.c Change license 2020-12-27 17:18:44 -08:00
fadvise-nt.c Change license 2020-12-27 17:18:44 -08:00
fadvise.c Change license 2020-12-27 17:18:44 -08:00
fallocate.c Change license 2020-12-27 17:18:44 -08:00
fchmod.c Change license 2020-12-27 17:18:44 -08:00
fchown.c Change license 2020-12-27 17:18:44 -08:00
fchownat.c Change license 2020-12-27 17:18:44 -08:00
fcntl-nt.c Change license 2020-12-27 17:18:44 -08:00
fcntl.c Change license 2020-12-27 17:18:44 -08:00
fdatasync-nt.c Change license 2020-12-27 17:18:44 -08:00
fdatasync.c Change license 2020-12-27 17:18:44 -08:00
fileexists.c Change license 2020-12-27 17:18:44 -08:00
fixupnewfd.c Change license 2020-12-27 17:18:44 -08:00
flock-nt.c Change license 2020-12-27 17:18:44 -08:00
flock.c Change license 2020-12-27 17:18:44 -08:00
fprot2nt.c Change license 2020-12-27 17:18:44 -08:00
fstat-nt.c Change license 2020-12-27 17:18:44 -08:00
fstat-sysv.c Change license 2020-12-27 17:18:44 -08:00
fstat.c Change license 2020-12-27 17:18:44 -08:00
fstatat-sysv.c Change license 2020-12-27 17:18:44 -08:00
fstatat.c Change license 2020-12-27 17:18:44 -08:00
fsync.c Change license 2020-12-27 17:18:44 -08:00
ftruncate-nt.c Change license 2020-12-27 17:18:44 -08:00
ftruncate.c Change license 2020-12-27 17:18:44 -08:00
g_fds.c Change license 2020-12-27 17:18:44 -08:00
g_fds_init.S Change license 2020-12-27 17:18:44 -08:00
g_ntstartupinfo.c Change license 2020-12-27 17:18:44 -08:00
g_ntstartupinfo_init.S Change license 2020-12-27 17:18:44 -08:00
g_ntsysteminfo.c Change license 2020-12-27 17:18:44 -08:00
g_ntsysteminfo_init.S Change license 2020-12-27 17:18:44 -08:00
g_sighandrvas.c Change license 2020-12-27 17:18:44 -08:00
getauxval.c Change license 2020-12-27 17:18:44 -08:00
getcwd-nt.c Change license 2020-12-27 17:18:44 -08:00
getcwd.c Change license 2020-12-27 17:18:44 -08:00
getdomainname.c Change license 2020-12-27 17:18:44 -08:00
getemptyfd.c Change license 2020-12-27 17:18:44 -08:00
getenv.c Change license 2020-12-27 17:18:44 -08:00
getfiledescriptorsize.c Change license 2020-12-27 17:18:44 -08:00
getfilesize.c Change license 2020-12-27 17:18:44 -08:00
gethostname.c Change license 2020-12-27 17:18:44 -08:00
getitimer.c Change license 2020-12-27 17:18:44 -08:00
getntsyspath.S Change license 2020-12-27 17:18:44 -08:00
getpid.c Change license 2020-12-27 17:18:44 -08:00
getppid.c Change license 2020-12-27 17:18:44 -08:00
getpriority-nt.c Change license 2020-12-27 17:18:44 -08:00
getpriority.c Change license 2020-12-27 17:18:44 -08:00
getprocaddressmodule.c Change license 2020-12-27 17:18:44 -08:00
getrlimit.c Change license 2020-12-27 17:18:44 -08:00
getrusage-nt.c Change license 2020-12-27 17:18:44 -08:00
getrusage.c Change license 2020-12-27 17:18:44 -08:00
getsetpriority-nt.c Change license 2020-12-27 17:18:44 -08:00
getsid.c Change license 2020-12-27 17:18:44 -08:00
gettid.c Change license 2020-12-27 17:18:44 -08:00
gettimeofday-nt.c Change license 2020-12-27 17:18:44 -08:00
gettimeofday-sysv.S Change license 2020-12-27 17:18:44 -08:00
gettimeofday.c Change license 2020-12-27 17:18:44 -08:00
getuid.c Change license 2020-12-27 17:18:44 -08:00
grantpt.c Change license 2020-12-27 17:18:44 -08:00
growfds.c Change license 2020-12-27 17:18:44 -08:00
internal.h Improve documentation 2020-12-27 07:02:35 -08:00
ioctl-default.c Change license 2020-12-27 17:18:44 -08:00
ioctl-tcgets-nt.c Change license 2020-12-27 17:18:44 -08:00
ioctl-tcgets.c Change license 2020-12-27 17:18:44 -08:00
ioctl-tcsets-nt.c Change license 2020-12-27 17:18:44 -08:00
ioctl-tcsets.c Change license 2020-12-27 17:18:44 -08:00
ioctl-tiocgwinsz-nt.c Change license 2020-12-27 17:18:44 -08:00
ioctl-tiocgwinsz.c Change license 2020-12-27 17:18:44 -08:00
ioctl-tiocswinsz-nt.c Change license 2020-12-27 17:18:44 -08:00
ioctl-tiocswinsz.c Change license 2020-12-27 17:18:44 -08:00
ioctl.c Change license 2020-12-27 17:18:44 -08:00
ioctl.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
isatty-nt.c Change license 2020-12-27 17:18:44 -08:00
isatty.c Change license 2020-12-27 17:18:44 -08:00
ischardev.c Change license 2020-12-27 17:18:44 -08:00
isdebuggerpresent.c Change license 2020-12-27 17:18:44 -08:00
isdirectory.c Change license 2020-12-27 17:18:44 -08:00
isexecutable.c Change license 2020-12-27 17:18:44 -08:00
isfdkind.c Change license 2020-12-27 17:18:44 -08:00
isfdopen.c Change license 2020-12-27 17:18:44 -08:00
isregularfile.c Change license 2020-12-27 17:18:44 -08:00
kemptyfd.c Change license 2020-12-27 17:18:44 -08:00
kill.c Change license 2020-12-27 17:18:44 -08:00
killpg.c Change license 2020-12-27 17:18:44 -08:00
kntprioritycombos.c Change license 2020-12-27 17:18:44 -08:00
kntprioritycombos.internal.h Improve documentation 2020-12-27 07:02:35 -08:00
kntsystemdirectory.S Change license 2020-12-27 17:18:44 -08:00
kntwindowsdirectory.S Change license 2020-12-27 17:18:44 -08:00
ktmppath.S Change license 2020-12-27 17:18:44 -08:00
lchown.c Change license 2020-12-27 17:18:44 -08:00
link-nt.c Change license 2020-12-27 17:18:44 -08:00
link.c Change license 2020-12-27 17:18:44 -08:00
lseek-nt.c Change license 2020-12-27 17:18:44 -08:00
lseek.c Change license 2020-12-27 17:18:44 -08:00
lstat-nt.c Change license 2020-12-27 17:18:44 -08:00
lstat.c Change license 2020-12-27 17:18:44 -08:00
madvise-nt.c Change license 2020-12-27 17:18:44 -08:00
madvise.c Change license 2020-12-27 17:18:44 -08:00
mkdir.c Change license 2020-12-27 17:18:44 -08:00
mkdirat.c Change license 2020-12-27 17:18:44 -08:00
mkfifo.c Change license 2020-12-27 17:18:44 -08:00
mknod.c Change license 2020-12-27 17:18:44 -08:00
mkntpath.c Change license 2020-12-27 17:18:44 -08:00
mprotect.greg.c Change license 2020-12-27 17:18:44 -08:00
nanosleep-nt.c Change license 2020-12-27 17:18:44 -08:00
nanosleep-xnu.c Change license 2020-12-27 17:18:44 -08:00
nanosleep.c Change license 2020-12-27 17:18:44 -08:00
nice.c Change license 2020-12-27 17:18:44 -08:00
now.c Change license 2020-12-27 17:18:44 -08:00
nowl.S Change license 2020-12-27 17:18:44 -08:00
ntaccesscheck.c Change license 2020-12-27 17:18:44 -08:00
ntcontext2linux.c Change license 2020-12-27 17:18:44 -08:00
ntmagicpaths.c Change license 2020-12-27 17:18:44 -08:00
ntmagicpaths.inc Initial import 2020-06-15 07:18:57 -07:00
ntmagicpaths.internal.h Improve documentation 2020-12-27 07:02:35 -08:00
ntreturn.c Change license 2020-12-27 17:18:44 -08:00
ntsetprivilege.c Change license 2020-12-27 17:18:44 -08:00
offset2overlap.c Change license 2020-12-27 17:18:44 -08:00
onntconsoleevent.c Change license 2020-12-27 17:18:44 -08:00
onntconsoleevent_init.S Change license 2020-12-27 17:18:44 -08:00
open-nt.c Change license 2020-12-27 17:18:44 -08:00
open.c Change license 2020-12-27 17:18:44 -08:00
openanon.c Change license 2020-12-27 17:18:44 -08:00
openat.c Change license 2020-12-27 17:18:44 -08:00
openbsd.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
openpty.c Change license 2020-12-27 17:18:44 -08:00
pause.c Change license 2020-12-27 17:18:44 -08:00
pipe-nt.c Change license 2020-12-27 17:18:44 -08:00
pipe-sysv.S Change license 2020-12-27 17:18:44 -08:00
pipe.c Change license 2020-12-27 17:18:44 -08:00
pipe2-sysv.c Change license 2020-12-27 17:18:44 -08:00
pipe2.c Change license 2020-12-27 17:18:44 -08:00
posix_fadvise.c Change license 2020-12-27 17:18:44 -08:00
posix_fallocate.c Change license 2020-12-27 17:18:44 -08:00
posix_madvise.c Change license 2020-12-27 17:18:44 -08:00
posix_openpt.c Change license 2020-12-27 17:18:44 -08:00
pread.c Change license 2020-12-27 17:18:44 -08:00
preadv.c Change license 2020-12-27 17:18:44 -08:00
prot2nt.greg.c Change license 2020-12-27 17:18:44 -08:00
ptsname.c Change license 2020-12-27 17:18:44 -08:00
ptsname_r.c Change license 2020-12-27 17:18:44 -08:00
pwrite.c Change license 2020-12-27 17:18:44 -08:00
pwritev.c Change license 2020-12-27 17:18:44 -08:00
raise.c Change license 2020-12-27 17:18:44 -08:00
read-nt.c Change license 2020-12-27 17:18:44 -08:00
read.c Change license 2020-12-27 17:18:44 -08:00
readansi.c Change license 2020-12-27 17:18:44 -08:00
readv-serial.c Change license 2020-12-27 17:18:44 -08:00
readv.c Change license 2020-12-27 17:18:44 -08:00
realpath.c Change license 2020-12-27 17:18:44 -08:00
remove.c Change license 2020-12-27 17:18:44 -08:00
removefd.c Change license 2020-12-27 17:18:44 -08:00
rename-nt.c Change license 2020-12-27 17:18:44 -08:00
rename.c Change license 2020-12-27 17:18:44 -08:00
renameat.c Change license 2020-12-27 17:18:44 -08:00
rmdir-nt.c Change license 2020-12-27 17:18:44 -08:00
rmdir.c Change license 2020-12-27 17:18:44 -08:00
sched_setaffinity.c Change license 2020-12-27 17:18:44 -08:00
sched_yield-nt.c Change license 2020-12-27 17:18:44 -08:00
sched_yield.c Change license 2020-12-27 17:18:44 -08:00
setegid.S Change license 2020-12-27 17:18:44 -08:00
seteuid.S Change license 2020-12-27 17:18:44 -08:00
setitimer-nt.c Change license 2020-12-27 17:18:44 -08:00
setitimer.c Change license 2020-12-27 17:18:44 -08:00
setpriority-nt.c Change license 2020-12-27 17:18:44 -08:00
setpriority.c Change license 2020-12-27 17:18:44 -08:00
setresgid.c Change license 2020-12-27 17:18:44 -08:00
setresuid.c Change license 2020-12-27 17:18:44 -08:00
setrlimit.c Change license 2020-12-27 17:18:44 -08:00
setsid.c Change license 2020-12-27 17:18:44 -08:00
sigaction.c Change license 2020-12-27 17:18:44 -08:00
sigaddset.c Change license 2020-12-27 17:18:44 -08:00
sigbits.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sigdelset.c Change license 2020-12-27 17:18:44 -08:00
sigemptyset.c Change license 2020-12-27 17:18:44 -08:00
sigenter.S Change license 2020-12-27 17:18:44 -08:00
sigfillset.c Change license 2020-12-27 17:18:44 -08:00
sigignore.c Change license 2020-12-27 17:18:44 -08:00
sigismember.c Change license 2020-12-27 17:18:44 -08:00
signal.c Change license 2020-12-27 17:18:44 -08:00
sigprocmask.c Change license 2020-12-27 17:18:44 -08:00
sigsuspend.c Change license 2020-12-27 17:18:44 -08:00
splice.c Change license 2020-12-27 17:18:44 -08:00
stat-nt.c Change license 2020-12-27 17:18:44 -08:00
stat.c Change license 2020-12-27 17:18:44 -08:00
stat2linux.c Change license 2020-12-27 17:18:44 -08:00
symlink-nt.c Change license 2020-12-27 17:18:44 -08:00
symlink.c Change license 2020-12-27 17:18:44 -08:00
sync-nt.c Change license 2020-12-27 17:18:44 -08:00
sync.c Change license 2020-12-27 17:18:44 -08:00
sync_file_range.c Change license 2020-12-27 17:18:44 -08:00
sysinfo-nt.c Change license 2020-12-27 17:18:44 -08:00
sysinfo.c Change license 2020-12-27 17:18:44 -08:00
tcgetattr.c Change license 2020-12-27 17:18:44 -08:00
tcgetpgrp.c Change license 2020-12-27 17:18:44 -08:00
tcsetattr.c Change license 2020-12-27 17:18:44 -08:00
tcsetpgrp.c Change license 2020-12-27 17:18:44 -08:00
termios.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
termios.internal.h Improve documentation 2020-12-27 07:02:35 -08:00
termios2host.c Change license 2020-12-27 17:18:44 -08:00
termios2linux.c Change license 2020-12-27 17:18:44 -08:00
time.c Change license 2020-12-27 17:18:44 -08:00
touch.c Change license 2020-12-27 17:18:44 -08:00
truncate-nt.c Change license 2020-12-27 17:18:44 -08:00
truncate.c Change license 2020-12-27 17:18:44 -08:00
tunefd.c Change license 2020-12-27 17:18:44 -08:00
ucontext.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
uname.c Change license 2020-12-27 17:18:44 -08:00
unlink-nt.c Change license 2020-12-27 17:18:44 -08:00
unlink.c Change license 2020-12-27 17:18:44 -08:00
unlink_s.c Change license 2020-12-27 17:18:44 -08:00
unlinkat.c Change license 2020-12-27 17:18:44 -08:00
unlockpt.c Change license 2020-12-27 17:18:44 -08:00
utime.c Change license 2020-12-27 17:18:44 -08:00
utimensat-nt.c Change license 2020-12-27 17:18:44 -08:00
utimensat-sysv.c Change license 2020-12-27 17:18:44 -08:00
utimensat-xnu.c Change license 2020-12-27 17:18:44 -08:00
utimensat.c Change license 2020-12-27 17:18:44 -08:00
utimes.c Change license 2020-12-27 17:18:44 -08:00
vdprintf.c Change license 2020-12-27 17:18:44 -08:00
vmsplice.c Change license 2020-12-27 17:18:44 -08:00
wait.c Change license 2020-12-27 17:18:44 -08:00
wait3.c Change license 2020-12-27 17:18:44 -08:00
wait4-nt.c Change license 2020-12-27 17:18:44 -08:00
wait4.c Change license 2020-12-27 17:18:44 -08:00
wait4.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
waitpid.c Change license 2020-12-27 17:18:44 -08:00
weirdtypes.h Add glob and some finer tuning of documentation 2020-06-21 15:23:35 -07:00
winalarm.c Change license 2020-12-27 17:18:44 -08:00
wincrash.c Change license 2020-12-27 17:18:44 -08:00
wincrash_init.S Change license 2020-12-27 17:18:44 -08:00
winerr.greg.c Change license 2020-12-27 17:18:44 -08:00
write-nt.c Change license 2020-12-27 17:18:44 -08:00
write.c Change license 2020-12-27 17:18:44 -08:00
writev-serial.c Change license 2020-12-27 17:18:44 -08:00
writev.c Change license 2020-12-27 17:18:44 -08:00
xattr.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
xnutrampoline.c Change license 2020-12-27 17:18:44 -08:00
zygote.c Change license 2020-12-27 17:18:44 -08:00