arpa/inet.h
(0P) POSIX Programmer's Manual (0P)
NAME
arpa/inet.h - definitions for internet operations
SYNOPSIS
#include
DESCRIPTION
The in_port_t and in_addr_t types shall be defined as described in
in.h> .
The in_addr structure shall be defined as described in in.h>
.
The INET_ADDRSTRLEN and INET6_ADDRSTRLEN macros shall be defined as
described in in.h> .
The following shall either be declared as functions, defined as
macros, or both. If functions are declared, function prototypes shall
be provided.
uint32_t htonl(uint32_t);
uint16_t htons(uint16_t);
uint32_t ntohl(uint32_t);
uint16_t ntohs(uint16_t);
The uint32_t and uint16_t types shall be defined as described in
.
The following shall be declared as functions and may also be defined
as macros. Function prototypes shall be provided.
in_addr_t inet_addr(const char *);
char *inet_ntoa(struct in_addr);
const char *inet_ntop(int, const void *restrict, char *restrict,
socklen_t);
int inet_pton(int, const char *restrict, void *restrict
);
Inclusion of the header may also make visible all sym‐
bols from in.h> and .
The following sections are informative.
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
in.h>, , the System Interfaces volume of
IEEE Std 1003.1-2001, htonl(), inet_addr()
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol‐
ogy -- Portable Operating System Interface (POSIX), The Open Group
Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute
of Electrical and Electronics Engineers, Inc and The Open Group. In
the event of any discrepancy between this version and the original
IEEE and The Open Group Standard, the original IEEE and The Open
Group Standard is the referee document. The original Standard can be
obtained online at http://www.opengroup.org/unix/online.html .
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
용감한 바로 가기 및 우분투 응용 프로그램안녕하세요 여러분, 이 기사에서는 모든 사이트에서 pwa를 생성하고 실행기 응용 프로그램으로 추가하는 방법을 설명하고 싶습니다. 일부 웹사이트는 PWA로 설치를 허용하지 않지만 유사한 애플리케이션을 원합니다. 1. ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.