Cross reference for ip/inet_ntop.c of index.

# File ip/inet_ntop.c

## Included Files

- `#include <sys/param.h>`

- `#include <sys/types.h>`

- `#include <sys/socket.h>`

- `#include <netinet/in.h>`

- `#include <arpa/inet.h>`

- `#include <arpa/nameser.h>`

- `#include <string.h>`

- `#include <errno.h>`

- `#include <stdio.h>`

- `#include ";ip/inet6def.h";`
  - `#include <sys/socket.h>`
  - `#include <netinet/in.h>`

## Preprocessor definitions

`#define __P( a )`

## Global Function inet_ntop()

`const char* inet_ntop ( int af, const void* src, char* dst, size_t size )`

Prototyped in: | /usr/include/arpa/inet.h
Calls: | inet_ntop4() | ip/inet_ntop.c
| inet_ntop6() | ip/inet_ntop.c
| ___errno()

## Local Function asctime_r()

`static char* asctime_r ( const struct tm* __tm, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_asctime_r()

## Local Function ctime_r()

`static char* ctime_r ( const time_t* __time, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_ctime_r()

## Local Function inet_ntop4()

`static const char* inet_ntop4 ( const u_char* src, char* dst, size_t size )`

Prototyped in: | ip/inet_ntop.c
Calls: | ___errno(), sprintf(), strcpy()
Called by: | inet_ntop() | ip/inet_ntop.c
| inet_ntop6() | ip/inet_ntop.c

## Local Function inet_ntop6()

`static const char* inet_ntop6 ( const u_char* src, char* dst, size_t size )`

Prototyped in: | ip/inet_ntop.c
Calls: | inet_ntop4() | ip/inet_ntop.c
| ___errno(), memset(), sprintf(), strcpy(), strlen()
Called by: | inet_ntop() | ip/inet_ntop.c