---
title: getc
framework: Kernel
role: symbol
role_heading: Instance Property
platforms: [macOS 10.13+]
path: kernel/console_ops/2870135-getc
---

# getc

## Declaration

```occ
int (*getc)(bool);
```
