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

# vn_bwrite

System-provided implementation of "bwrite" vnop.

## Declaration

```occ
int vn_bwrite(struct vnop_bwrite_args *ap);
```

## Parameters

- `ap`: Standard parameters to a bwrite vnop.

## Return Value

Return Value Results of buf_bwrite directly.

## Discussion

Discussion This routine is available for filesystems which do not want to implement their own "bwrite" vnop. It just calls buf_bwrite() without modifying its arguments.
