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

# nanotime

## Declaration

```occ
void nanotime(struct timespec *ts);
```
