PxToGetName()
Return the name of a timeout object.
- APPLIES TO
-
1.0.0
- SYNOPSIS
-
PxError_t PxToGetName (PxTo_t to, PxChar_t *buffer, PxUInt_t bufsize); - ARGUMENTS
|
|
|
|
|
- RETURN VALUES
-
-
PXROS error code
-
- ERROR CODES
-
PXERR_NAME_BUFOVERFLOWThe data area is too short to store the objects name
PXERR_OBJ_ILLOBJtois not a valid object idPXERR_PROT_PERMISSIONThe data area is not writable for the calling task
PXERR_GLOBAL_ILLEGAL_COREThe requested object is not on the same core
PXERR_SERVICE_NOT_CONFIGUREDService has not been configured
- DESCRIPTION
-
PxToGetNamecopies the name oftointo thebufferbuffer of lengthbufsize. The result is zero-terminated.PxToGetNameis the specialized version ofPxObjGetNameapplicable to timeout objects.