rtems_status_code rtems_port_ident( rtems_name name, rtems_id *id );
RTEMS_SUCCESSFUL
- port identified successfully
RTEMS_INVALID_ADDRESS
- id
is NULL
RTEMS_INVALID_NAME
- port name not found
This directive obtains the port id associated with the specified name to be acquired. If the port name is not unique, then the port id will match one of the DPMAs with that name. However, this port id is not guaranteed to correspond to the desired DPMA. The port id is used to access this DPMA in other dual-ported memory area related directives.
This directive will not cause the running task to be preempted.
Copyright © 1988-2008 OAR Corporation