cosmopolitan/libc/nt/kernel32/GetFileAttributesW.s
Justine Tunney 4f98ad1054 Improve system call support on NT
- Improve i/o perf on New Technology
- Code cleanup on read() for New Technology
- Fix bad bug with dup() of socket on New Technology
- Clean up some more strace errors on New Technology
2022-04-07 20:30:04 -07:00

15 lines
293 B
ArmAsm

.include "o/libc/nt/codegen.inc"
.imp kernel32,__imp_GetFileAttributesW,GetFileAttributesW,0
.text.windows
__GetFileAttributes:
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_GetFileAttributesW(%rip)
leave
ret
.endfn __GetFileAttributes,globl
.previous