RTEMS Logo

RTEMS 4.8.0 On-Line Library


User Extensions Manager EXTENSION_CREATE - Create a extension set

PREV UP NEXT Bookshelf RTEMS C User's Guide

22.4.1: EXTENSION_CREATE - Create a extension set

CALLING SEQUENCE:

rtems_status_code rtems_extension_create(
  rtems_name              name,
  rtems_extensions_table *table,
  rtems_id               *id
);

DIRECTIVE STATUS CODES:

RTEMS_SUCCESSFUL - extension set created successfully
RTEMS_INVALID_NAME - invalid extension set name
RTEMS_TOO_MANY - too many extension sets created

DESCRIPTION:

This directive creates a extension set. The assigned extension set id is returned in id. This id is used to access the extension set with other user extension manager directives. For control and maintenance of the extension set, RTEMS allocates an ESCB from the local ESCB free pool and initializes it.

NOTES:

This directive will not cause the calling task to be preempted.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2007OAR Corporation