Reentrancy

A reentrant function can be interrupted, suspended, and called again, then resumed from its suspended state. Generally, reentrant functions do not write to global variables or local static data structures, and call only other reentrant functions.

In the tables on the following pages, the code letters listed below are used to identify the reentrancy of the library functions:

Y Function is reentrant

N Function is not reentrant

I Function does I/O; for most purposes it is not reentrant.

E Function writes to the global variable errno, otherwise is reentrant. It may be possible to modify the library source so writing to errno is a reentrant operation. See the functions

_ _gh_set_errno() and _ _gh_get_errno(). The complete source code is libsrc/ind_errn.c.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.