Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

15.2.4. alt_printf()

Prototype

alt_printf(const char* fmt, ... )

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

No.

Available from ISR

No.

Include

<sys/alt_stdio.h>

Description

The alt_printf() function provides a very minimal printf implementation for use with very small applications. Only the following format strings are supported: %x, %s, %c, and %%.

Return

--