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

Service entry returned by getservbyname() (legacy). More...

#include <zephyr/posix/netdb.h>

Data Fields

char * s_name
 Official service name.
 
char ** s_aliases
 NULL-terminated list of alternate names.
 
int s_port
 Port number (network byte order).
 
char * s_proto
 Protocol to use ("tcp" or "udp").
 

Detailed Description

Service entry returned by getservbyname() (legacy).

Definition at line 82 of file netdb.h.

Field Documentation

◆ s_aliases

char** servent::s_aliases

NULL-terminated list of alternate names.

Definition at line 84 of file netdb.h.

◆ s_name

char* servent::s_name

Official service name.

Definition at line 83 of file netdb.h.

◆ s_port

int servent::s_port

Port number (network byte order).

Definition at line 85 of file netdb.h.

◆ s_proto

char* servent::s_proto

Protocol to use ("tcp" or "udp").

Definition at line 86 of file netdb.h.


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