Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   ntohl.3p    ( 3 )

преобразовывать значения между порядком байтов хоста и сети (convert values between host and network byte order)

Пролог (Prolog)

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.


Имя (Name)

ntohl, ntohs — convert values between host and network byte order


Синопсис (Synopsis)

#include <arpa/inet.h>

uint32_t ntohl(uint32_t netlong); uint16_t ntohs(uint16_t netshort);


Описание (Description)

Refer to htonl(3p).