Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/) · [OCR](https://md.ocr.elamur.ai/free/en/)

[Elamur Dictionary](https://md.dictionary.elamur.ai/free/en/) · [this page in HTML](https://dictionary.elamur.ai/free/en/english/extern/)

[dictionaries](https://md.dictionary.elamur.ai/free/en/) / [English](https://md.dictionary.elamur.ai/free/en/english/) / extern

# extern

English · adjective; noun

## Senses

### Sense 1 · noun · corpus

corpus

A programming keyword used here with "C" to let code connect using C language rules.

Source: Mova's open texts. Licence: cc-by-sa-4.0.

## Forms and counts

### Adjective

- Forms: extern (Degree: Pos).

### Noun

- Forms: extern (Number: Sing); externs (Number: Plur).
- Seen 2 times in Mova's corpus index.

## Usage and labels

### corpus

The examples show extern "C" in Rust and C++ code for functions used across language boundaries.

## Examples

3 source examples.

- #\[unsafe(no\_mangle)\] pub extern "C" fn exported\_from\_rust(x: i32) -\> i32 { x + 1 } unsafe extern "C" { fn imported\_into\_rust(x: i32) -\> i32; } The attribute enables deterministic memory layouts for s and s for use across FFI boundaries. — [Wikipedia: Rust (programming language)](https://en.wikipedia.org/wiki/Rust_%28programming_language%29) (Wikipedia contributors). Licence: [cc-by-sa-4.0](https://creativecommons.org/licenses/by-sa/4.0/). — Mova's open texts (cc-by-sa-4.0)
- To intermix C and C++ code, any function declaration or definition that is to be called from/used both in C and C++ must be declared with C linkage by placing it within an extern "C" {/\*... — [Wikipedia: C++](https://en.wikipedia.org/wiki/C++) (Wikipedia contributors). Licence: [cc-by-sa-4.0](https://creativecommons.org/licenses/by-sa/4.0/). — Mova's open texts (cc-by-sa-4.0)
- Modularity is supported by processing files separately, with visibility controlled through the static and extern attributes. — [Wikipedia: C (programming language)](https://en.wikipedia.org/wiki/C_%28programming_language%29) (Wikipedia contributors). Licence: [cc-by-sa-4.0](https://creativecommons.org/licenses/by-sa/4.0/). — an example found by Mova's corpus index (cc-by-sa-4.0)

## Notes and derived forms

### corpus

## Sources

Mova's word records: counts from Mova's corpus index, word lists from Wiktionary and Mova's concept inventory. Licence: cc-by-sa-4.0.

Mova's open texts. Licence: cc-by-sa-4.0.

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://dictionary.elamur.ai/sitemap.xml) · [llms.txt](https://dictionary.elamur.ai/llms.txt)
