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

# vfs_maxsymlen

Get the maximum length of a symbolic link on a filesystem.

## Declaration

```occ
uint32_t vfs_maxsymlen(mount_t mp);
```

## Parameters

- `mp`: Mount from which to get symlink length cap.

## Return Value

Return Value Max symlink length.
