projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
[oweals/musl.git]
/
src
/
errno
/
__errno_location.c
1
#include <errno.h>
2
#include "libc.h"
3
4
#undef errno
5
int errno;
6
7
int *__errno_location(void)
8
{
9
if (libc.errno_location) return libc.errno_location();
10
return &errno;
11
}