OAR

RTEMS GNU Tools On-Line Library


System Functions

PREV UP NEXT Bookshelf GNU Coding Standards

5.7: Calling System Functions

C implementations differ substantially. Standard C reduces but does not eliminate the incompatibilities; meanwhile, many GNU packages still support pre-standard compilers because this is not hard to do. This chapter gives recommendations for how to use the more-or-less standard C library functions to avoid unnecessary loss of portability.

Here we assume that HAVE_STRCHR and HAVE_STRRCHR are macros defined in systems where the corresponding functions exist. One way to get them properly defined is to use Autoconf.


PREV UP NEXT Bookshelf GNU Coding Standards

Packaging copyright © 1988-2000 OAR Corporation
Context copyright by each document's author. See Free Software Foundation for information.