[Previous] [Contents] [Index] [Next]

PtChannelCreate()

Make sure the widget library is using a channel

Synopsis:

int PtChannelCreate( void );

Library:

ph

Description:

In version 4 of the QNX OS, this function simply returns 1.

In version 6, this function makes sure that the widget library is using a channel (rather than realtime signals) for notification. It returns the channel number (or -1 on failure).

Returns:

There's no such thing as a channel in version 4 of the QNX OS, so this function simply returns 1.

In version 6 of the OS, this function returns the channel number, or -1 on failure.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]