From 9e5169ac90db625061e486854729b8279ba46378 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Mon, 10 Dec 2018 17:54:32 +0100 Subject: erl_interface: Fix doc for return type 'struct hostent' '*' is part of the return type, not the function name. --- lib/erl_interface/doc/src/ei_connect.xml | 8 ++++---- lib/erl_interface/doc/src/erl_connect.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/erl_interface/doc') diff --git a/lib/erl_interface/doc/src/ei_connect.xml b/lib/erl_interface/doc/src/ei_connect.xml index 607a7cbff4..d5a55087a3 100644 --- a/lib/erl_interface/doc/src/ei_connect.xml +++ b/lib/erl_interface/doc/src/ei_connect.xml @@ -87,10 +87,10 @@ - struct hostent*ei_gethostbyaddr(const char *addr, int len, int type) - struct hostent*ei_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) - struct hostent*ei_gethostbyname(const char *name) - struct hostent*ei_gethostbyname_r(const char *name, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) + struct hostent *ei_gethostbyaddr(const char *addr, int len, int type) + struct hostent *ei_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) + struct hostent *ei_gethostbyname(const char *name) + struct hostent *ei_gethostbyname_r(const char *name, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) Name lookup functions.

Convenience functions for some common name lookup functions.

diff --git a/lib/erl_interface/doc/src/erl_connect.xml b/lib/erl_interface/doc/src/erl_connect.xml index 76ef6588c2..8df03d4ecc 100644 --- a/lib/erl_interface/doc/src/erl_connect.xml +++ b/lib/erl_interface/doc/src/erl_connect.xml @@ -616,10 +616,10 @@ typedef struct {
- struct hostent*erl_gethostbyaddr(addr, length, type) - struct hostent*erl_gethostbyaddr_r(addr, length, type, hostp, buffer, buflen, h_errnop) - struct hostent*erl_gethostbyname(name) - struct hostent*erl_gethostbyname_r(name, hostp, buffer, buflen, h_errnop) + struct hostent *erl_gethostbyaddr(addr, length, type) + struct hostent *erl_gethostbyaddr_r(addr, length, type, hostp, buffer, buflen, h_errnop) + struct hostent *erl_gethostbyname(name) + struct hostent *erl_gethostbyname_r(name, hostp, buffer, buflen, h_errnop) Name lookup functions. -- cgit v1.2.3