PxSetPrivileges()
Set privileges of the calling task.
- APPLIES TO
-
8.2.0
- SYNOPSIS
-
PxArg_t PxSetPrivileges (PxArg_t privs);
- ARGUMENTS
|
- RETURN VALUES
-
-
Privileges of the calling task before the change
-
- DESCRIPTION
-
PxSetPrivileges gets the privileges specified by privs. This service returns the privileges aquired before the change.
- IMPLEMENTATION GUIDELINES
-
- Before call
-
-
No checks necessary.
-
- After call
-
-
PxGetError
must be called to check if an error has occurred. (F).
-
- Best Practice
-
-
No restrictions.
-
- USAGE
-
#include "pxdef.h" PxArg_t arg = PxSetPrivileges(1);