---
title: inet_ntop
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: kernel/1475706-inet_ntop
---

# inet_ntop

## Declaration

```occ
const char * inet_ntop(int, const void *, char *, socklen_t);
```
