gethostbyname_r.c\network\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/network/gethostbyname_r.c
blob: cd8725417377284696d75344e8e679e14ae9cb7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#define _GNU_SOURCE
#include <sys/socket.h>
#include <netdb.h>
int gethostbyname_r(const char *name,
	struct hostent *h, char *buf, size_t buflen,
	struct hostent **res, int *err)
{
	return gethostbyname2_r(name, AF_INET, h, buf, buflen, res, err);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月08日 04:52:00 +0000

AltStyle によって変換されたページ (->オリジナル) /