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
/
network
/
inet_ntoa.c
1
#include <arpa/inet.h>
2
#include <stdio.h>
3
4
char *inet_ntoa(struct in_addr in)
5
{
6
static char buf[16];
7
unsigned char *a = (void *)∈
8
snprintf(buf, sizeof buf, "%d.%d.%d.%d", a[0], a[1], a[2], a[3]);
9
return buf;
10
}