This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
cosmopolitan
Watch
1
Star
0
Fork
You've already forked cosmopolitan
0
mirror of
https://github.com/jart/cosmopolitan.git
synced
2025-03-03 23:48:21 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
1
cbfd4ccd1e
cosmopolitan
/
libc
/
sysv
/
calls
/
mknodat.s
3 lines
83 B
ArmAsm
Raw
Normal View
History
Unescape
Escape
Fix build bug
2020-12-19 13:37:31 -08:00
.include
"
o
/
l
i
b
c
/
s
y
s
v
/
m
a
c
r
o
s
.
i
n
t
e
r
n
a
l
.
i
n
c
"
Support dirfd relative iops on Windows We always favor calling functions like openat(), fstatat(), etc. because Linux, XNU, FreeBSD, and OpenBSD all elected to support them, while some systems like Android love them so much, that they stopped supporting the old interfaces. This change ensures that when dirfd is actually a dirfd and not AT_FDCWD we'll do the right thing on Windows NT. We use an API that's been around since Vista to accomplish that. This change also adds exponential backoff to chdir() on Windows since it seems almost as flaky on Windows 7 as the rmdir() function.
2021-01-30 01:49:43 -08:00
.scall
mknodat
0
x
0
1
4
0
0
2
2
f
f
f
f
f01
0
3
g
l
o
b
l
Reference in a new issue
Copy permalink