Specifications

HAL API Reference
14
2015.05.14
NII5V2
Subscribe
Send Feedback
This chapter provides an alphabetically ordered list of all the functions in the hardware abstraction layer
(HAL) application program interface (API). Each function is listed with its C prototype and a short
description. Each listing provides information about whether the function is thread-safe when running in
a multi-threaded environment, and whether it can be called from an interrupt service routine (ISR).
This chapter only lists the functionality provided by the HAL. The complete newlib API is also available
from within HAL systems. For example, newlib provides printf(), and other standard I/O functions,
which are not described here.
Note: Each function description lists the C header file that your code must include to access the function.
Because header files include other header files, the function prototype might not be defined in the
listed header file. However, you must include the listed header file in order to include all
definitions on which the function depends.
For more information about the newlib API, refer to the newlib documentation. On the Windows
Start menu, click Programs > Altera > Nios II <version> > Nios II <version> > Documentation.
HAL API Functions
_exit()
Prototype
void _exit (int exit_code)
Commonly Called By
newlib C library
Thread-safe
Yes.
Available from ISR
No.
©
2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are
trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as
trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance
of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any
products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information,
product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device
specifications before relying on any published information and before placing orders for products or services.
ISO
9001:2008
Registered
www.altera.com
101 Innovation Drive, San Jose, CA 95134