procedure Port_Ident ( Name : in RTEMS.Name; ID : out RTEMS.ID; Result : out RTEMS.Status_Codes );
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-2004 OAR Corporation