EnglishFrenchSpanish

Ad


OnWorks favicon

hpievents - Online in the Cloud

Run hpievents in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hpievents that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


hpievents - An openhpi sample application that polls for events.

SYNOPSIS


hpievents [ -t -d -x ]

DESCRIPTION


hpievents polls for events in an opened HPI session. User can specify wait time for the
event. User can also select the order between hpi resource (resource event) discovery and
hpi event subscription.

OPTIONS


where: -t <value> - wait <value> seconds for event;
-t SAHPI_TIMEOUT_BLOCK or BLOCK - infinite wait
-d - call saHpiDiscover() after saHpiSubscribe()
-x - displays eXtra debug messages

HPI APIs uniquely used in this application


SaErrorT SAHPI_API saHpiSubscribe (
SAHPI_IN SaHpiSessionIdT SessionId );

SaErrorT SAHPI_API saHpiUnsubscribe (
SAHPI_IN SaHpiSessionIdT SessionId );

SaErrorT SAHPI_API saHpiEventGet (
SAHPI_IN SaHpiSessionIdT SessionId,
SAHPI_IN SaHpiTimeoutT Timeout,
SAHPI_OUT SaHpiEventT *Event,
SAHPI_INOUT SaHpiRdrT *Rdr,
SAHPI_INOUT SaHpiRptEntryT *RptEntry,
SAHPI_INOUT SaHpiEvtQueueStatusT *EventQueueStatus );

Use hpievents online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad