cosmopolitan/libc/nt/kernel32/UnlockFileEx.s
Justine Tunney 3f49889841
Make important improvements
- 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
2022-09-14 22:39:08 -07:00

12 lines
243 B
ArmAsm

.include "o/libc/nt/codegen.inc"
.imp kernel32,__imp_UnlockFileEx,UnlockFileEx,0
.text.windows
__UnlockFileEx:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_UnlockFileEx(%rip),%rax
jmp __sysv2nt6
.endfn __UnlockFileEx,globl
.previous