Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
Developer Support
QNX Documentation Library
QNX Developer Support

QNX Developer Support

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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

netmgr_remote_nd()

Get a node descriptor that's relative to a remote node

Synopsis:

#include <sys/netmgr.h>

int netmgr_remote_nd( int remote_nd, 
                      int local_nd );

Arguments:

remote_nd
The node descriptor of a remote node.
local_nd
A node descriptor, relative to the local node, that you want to convert to be relative to the remote node.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The netmgr_remote_nd() function converts a node descriptor that's relative to the local node into a node descriptor that's relative to the specified remote node.

Returns:

The node descriptor, relative to the remote node, or -1 if an error occurred (errno is set).

Examples:

See netmgr_ndtostr().

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

ND_NODE_CMP(), netmgr_ndtostr(), netmgr_strtond()

Qnet Networking chapter of the Programmer's Guide

Qnet Networking chapter of the System Architecture guide


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