mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 23:13:34 +00:00
- Fix preadv() and pwritev() for old distros - Introduce _npassert() and _unassert() macros - Prove that file locks work properly on Windows - Support fcntl(F_DUPFD_CLOEXEC) on more systems
12 lines
233 B
ArmAsm
12 lines
233 B
ArmAsm
.include "o/libc/nt/codegen.inc"
|
|
.imp kernel32,__imp_LockFileEx,LockFileEx,0
|
|
|
|
.text.windows
|
|
__LockFileEx:
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
.profilable
|
|
mov __imp_LockFileEx(%rip),%rax
|
|
jmp __sysv2nt6
|
|
.endfn __LockFileEx,globl
|
|
.previous
|