Blame lib/lwres/man/lwres_inetntop.html

Packit Service ae04f2
Packit Service ae04f2
Packit Service ae04f2
 - Copyright (C) 2000, 2001, 2004, 2005, 2007, 2014-2016, 2018-2020 Internet Systems Consortium, Inc. ("ISC")
Packit Service ae04f2
 - 
Packit Service ae04f2
 - This Source Code Form is subject to the terms of the Mozilla Public
Packit Service ae04f2
 - License, v. 2.0. If a copy of the MPL was not distributed with this
Packit Service ae04f2
 - file, You can obtain one at http://mozilla.org/MPL/2.0/.
Packit Service ae04f2
-->
Packit Service ae04f2
<html lang="en">
Packit Service ae04f2
<head>
Packit Service ae04f2
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
Packit Service ae04f2
<title>lwres_inetntop</title>
Packit Service ae04f2
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
Packit Service ae04f2
</head>
Packit Service ae04f2
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit Service ae04f2
Packit Service ae04f2
  
Packit Service ae04f2
  
Packit Service ae04f2
Packit Service ae04f2
  
Packit Service ae04f2
Packit Service ae04f2
  
Packit Service ae04f2
Packit Service ae04f2
  
Packit Service ae04f2

Name

Packit Service ae04f2

Packit Service ae04f2
    lwres_net_ntop
Packit Service ae04f2
     — lightweight resolver IP address presentation
Packit Service ae04f2
  

Packit Service ae04f2
Packit Service ae04f2
  
Packit Service ae04f2

Synopsis

Packit Service ae04f2
    
Packit Service ae04f2
#include <lwres/net.h>
Packit Service ae04f2
Packit Service ae04f2
Packit Service ae04f2
Packit Service ae04f2
const char *
Packit Service ae04f2
lwres_net_ntop(
Packit Service ae04f2
int af, 
Packit Service ae04f2
Packit Service ae04f2
Packit Service ae04f2
 
Packit Service ae04f2
const void *src, 
Packit Service ae04f2
Packit Service ae04f2
Packit Service ae04f2
 
Packit Service ae04f2
char *dst, 
Packit Service ae04f2
Packit Service ae04f2
Packit Service ae04f2
 
Packit Service ae04f2
size_t size);
Packit Service ae04f2
Packit Service ae04f2
Packit Service ae04f2
 
Packit Service ae04f2
Packit Service ae04f2
  
Packit Service ae04f2
Packit Service ae04f2
  
Packit Service ae04f2

DESCRIPTION

Packit Service ae04f2
Packit Service ae04f2
Packit Service ae04f2
    

lwres_net_ntop()

Packit Service ae04f2
      converts an IP address of protocol family
Packit Service ae04f2
      af — IPv4 or IPv6 — at
Packit Service ae04f2
      location src from network format to its
Packit Service ae04f2
      conventional representation as a string.  For IPv4 addresses,
Packit Service ae04f2
      that string would be a dotted-decimal.  An IPv6 address would be
Packit Service ae04f2
      represented in colon notation as described in RFC1884.
Packit Service ae04f2
    

Packit Service ae04f2
Packit Service ae04f2
    

Packit Service ae04f2
      The generated string is copied to dst
Packit Service ae04f2
      provided
Packit Service ae04f2
      size indicates it is long enough to
Packit Service ae04f2
      store the
Packit Service ae04f2
      ASCII representation of the address.
Packit Service ae04f2
    

Packit Service ae04f2
Packit Service ae04f2
  
Packit Service ae04f2
  
Packit Service ae04f2

RETURN VALUES

Packit Service ae04f2
Packit Service ae04f2
Packit Service ae04f2
    

Packit Service ae04f2
      If successful, the function returns dst:
Packit Service ae04f2
      a pointer to a string containing the presentation format of the
Packit Service ae04f2
      address.  lwres_net_ntop() returns
Packit Service ae04f2
      NULL and sets the global variable
Packit Service ae04f2
      errno to EAFNOSUPPORT if
Packit Service ae04f2
      the protocol family given in af is
Packit Service ae04f2
      not
Packit Service ae04f2
      supported.
Packit Service ae04f2
    

Packit Service ae04f2
Packit Service ae04f2
  
Packit Service ae04f2
  
Packit Service ae04f2

SEE ALSO

Packit Service ae04f2
Packit Service ae04f2
    

Packit Service ae04f2
        RFC1884
Packit Service ae04f2
      ,
Packit Service ae04f2
      
Packit Service ae04f2
        inet_ntop(3)
Packit Service ae04f2
      ,
Packit Service ae04f2
      
Packit Service ae04f2
        errno(3)
Packit Service ae04f2
      .
Packit Service ae04f2
    

Packit Service ae04f2
  
Packit Service ae04f2
</body>
Packit Service ae04f2
</html>