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

# vfs_context_suser

Determine if a vfs_context_t corresponds to the superuser.

## Declaration

```occ
int vfs_context_suser(vfs_context_t ctx);
```

## Parameters

- `ctx`: Context to examine.

## Return Value

Return Value Nonzero if context belongs to superuser, 0 otherwise.
