Specifications

newlib Library Documentation
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
--
Related Information
alt_putchar() on page 14-77
alt_putstr() on page 14-76
alt_getchar() on page 14-75
Document Revision History for HAL API Reference
Date Version Changes
May 2015 2015.05.14
Maintenance release.
Renamed to Nios II Classic.
May 2011 11.0.0 No change
February 2011 10.1.0 Removed “Referenced Documents” section.
14-78
alt_printf()
NII5V2
2015.05.14
Altera Corporation
HAL API Reference
Send Feedback