---
title: vm_msync
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.0+]
path: kernel/1585201-vm_msync
---

# vm_msync

## Declaration

```occ
kern_return_t vm_msync(vm_map_t target_task, vm_address_t address, vm_size_t size, vm_sync_t sync_flags);
```

## See Also

### Configuration

- [vm_protect](kernel/1585294-vm_protect.md)
- [vm_wire](kernel/1588985-vm_wire.md)
- [mach_memory_info](kernel/1502832-mach_memory_info.md)
- [vm_behavior_set](kernel/1585236-vm_behavior_set.md)
- [vm_machine_attribute](kernel/1585354-vm_machine_attribute.md)
- [vm_purgable_control](kernel/1585267-vm_purgable_control.md)
- [vm_inherit](kernel/1585275-vm_inherit.md)
