PxGetPrivileges()

Get current privileges of the calling task.

APPLIES TO

1.0.0

SYNOPSIS
PxArg_t PxGetPrivileges (void);
RETURN VALUES
  • Privileges of the calling task

DESCRIPTION

PxGetPrivileges returns the current privileges of the calling task.

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 = PxGetPrivileges();