qnx_send

qnx_send — implements QNX 4 Send.

Syntax

qnx_send (taskid, message)

		

Arguments

taskid

The task to whom the message is sent.

message

The message, as a string, to send.

Returns

Returns a reply message character string from the recipient task. On an error this function returns nil and sets errno.

Description

This function implements the QNX 4 Send function. The reply is returned as a character string.

Possible values of errno are:

    EAGAIN No queue packets available for network manager

    EFAULT invalid message

    EHOSTUNREACH Destination node not in the netmap, or physical I/O error has occurred

    EINTR The function was interrupted by a signal

    EINVAL invalid message length

    ENOMEM not enough memory available for operation

    ESRCH the process ID does not exist

Example

Examples of this function are beyond the scope of this documentation.

See Also

qnx_reply, qnx_receive, send, send_async, next_event, next_event_nb, PtMainLoop