<< Previous | Next >>

OSFlagQuery

OS_FLAGS OSFlagQuery( OS_FLAG_GRP * pgrp, INT8U * err );

Description

This function is used to check the value of the event flag group.

Parameters

pgrp
Pointer to the desired event flag group.

err
Pointer to an error code returned to the called:

  • OS_NO_ERR - The call was successful

  • OS_FLAG_INVALID_PGRP - null pointer passed.

  • OS_ERR_EVENT_TYPE - Not pointing to an event flag group

Return value

The current value of the event flag group.

Library

OS_FLAG.C (Prior to DC 8:UCOS2.LIB)


Dynamic C Functions << Previous | Next >> rabbit.com