Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

14.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

--