posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
hostent Struct Reference

Host entry returned by gethostbyname() (legacy). More...

#include <zephyr/posix/netdb.h>

Data Fields

char * h_name
 Official name of the host.
 
char ** h_aliases
 NULL-terminated list of alternate names.
 
int h_addrtype
 Address type (AF_INET, etc.).
 
int h_length
 Length of each address in bytes.
 
char ** h_addr_list
 NULL-terminated list of addresses.
 

Detailed Description

Host entry returned by gethostbyname() (legacy).

Definition at line 58 of file netdb.h.

Field Documentation

◆ h_addr_list

char** hostent::h_addr_list

NULL-terminated list of addresses.

Definition at line 63 of file netdb.h.

◆ h_addrtype

int hostent::h_addrtype

Address type (AF_INET, etc.).

Definition at line 61 of file netdb.h.

◆ h_aliases

char** hostent::h_aliases

NULL-terminated list of alternate names.

Definition at line 60 of file netdb.h.

◆ h_length

int hostent::h_length

Length of each address in bytes.

Definition at line 62 of file netdb.h.

◆ h_name

char* hostent::h_name

Official name of the host.

Definition at line 59 of file netdb.h.


The documentation for this struct was generated from the following file: