mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 00:08:30 +00:00
Remove dollars from system call support symbols
This commit is contained in:
parent
a8d7195777
commit
a37960a3af
743 changed files with 1380 additions and 2016 deletions
|
@ -23,12 +23,12 @@
|
|||
|
||||
/**
|
||||
* Applies file descriptor fixups on XNU or old Linux.
|
||||
* @see fixupnewsockfd$sysv() for socket file descriptors
|
||||
* @see __fixupnewsockfd() for socket file descriptors
|
||||
*/
|
||||
int fixupnewfd$sysv(int fd, int flags) {
|
||||
int __fixupnewfd(int fd, int flags) {
|
||||
if (fd != -1) {
|
||||
if (flags & O_CLOEXEC) {
|
||||
fcntl$sysv(fd, F_SETFD, FD_CLOEXEC);
|
||||
sys_fcntl(fd, F_SETFD, FD_CLOEXEC);
|
||||
}
|
||||
}
|
||||
return fd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue