std/core

The std/core module provides the most fundamental definitions and error handling primitives for Zen-C programs. It is implicitly required by most other standard libraries.

Overview

Methods

Error Handling

Method/MacroSignatureDescription
panicpanic(msg: char*)Prints a formatted error message including file, line, and function, then terminates the process.

Process Control

MethodSignatureDescription
exitexit(code: int)Immediately terminates the process with the given return code.