[Previous]
[Contents]
[Next]

qnx_prefix_getroot()

get a pointer to the current network prefix root

Synopsis:

#include <sys/prfx.h>
char *qnx_prefix_getroot( void );

Description:

The qnx_prefix_getroot() function returns a pointer to the current network prefix root for the calling process.

Returns:

A pointer to a static buffer that contains the current network prefix root.


Note: Don't modify the contents of this static buffer.

Examples:

#include <stdio.h>
#include <sys/prfx.h>

void main()
  {
    printf( "Prefix root is %s\n",
        qnx_prefix_getroot() );
  }

Classification:

QNX

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

qnx_prefix_setroot()


[Previous]
[Contents]
[Next]