---
title: gOSKextUnresolved
framework: Kernel
role: symbol
role_heading: Global Variable
platforms: [macOS 10.6+]
path: kernel/goskextunresolved
---

# gOSKextUnresolved

The value to which a kext's unresolved, weakly-referenced symbols are bound.

## Declaration

```occ
const void *const gOSKextUnresolved;
```

## Discussion

Discussion A kext must test a weak symbol before using it. A weak symbol is only safe to use if it is not equal to gOSKextUnresolved. Example for a weak symbol named foo:           if (&foo != gOSKextUnresolved) {           foo();       } else {           printf("foo() is not supported\n");       }
