procmgr_value_current()
QNX SDP8.0C Library ReferenceAPIDeveloper
Get the current value of an item being monitored
Synopsis:
#include <sys/procmgr.h>
uint64_t procmgr_value_current( int id );
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Arguments:
- id
- The ID of a notification added with procmgr_value_notify_add().
Description:
The procmgr_value_current() function returns the current value of the item being monitored by the notification with the given ID.
Returns:
The value of the monitored item, or ~(uint64_t)0
if
an error occurred
(errno
is set).
Classification:
Safety: | |
---|---|
Cancellation point | No |
Signal handler | Yes |
Thread | Yes |
Page updated: