Specifications

Limitation Functions Affected
No support for opening/closing FILE *. Only pre-opened
stdout, stderr, and stdin are available. The functions listed
are not supported.
fopen()
fclose()
fdopen()
fcloseall()
fileno()
No buffering of stdio.h output routines. functions supported with no
buffering:
fiprintf()
fputc()
fputs()
perror()
putc()
putchar()
puts()
printf()
functions not supported:
setbuf()
setvbuf()
No stdio.h input routines. The functions listed are not
supported.
fgetc()
gets()
fscanf()
getc()
getchar()
gets()
getw()
scanf()
No support for locale.
setlocale()
localeconv()
No support for C++, because the functions listed in this table are
not supported.
Note: These functions are a Nios II extension. GCC does not implement them in the small newlib C
library.
Note: The small newlib C library does not support MicroC/OS-II.
6-30
Use the Small newlib C Library
NII5V2
2015.05.14
Altera Corporation
Developing Programs Using the Hardware Abstraction Layer
Send Feedback