path_node

Gamma: Version 4.0
Prev |  | Next

# `path_node`

`path_node` -- gives the node number of a path in a QNX 2 path definition.

## Syntax

    path_node (path)

## Arguments

`path`

  Any legal QNX 2 path.

## Returns

The node number portion of the `path` in a QNX 2 path definition. If the path does not contain an explicit node portion, the function returns nil.

## Description

This function is for version 2 of the QNX operating system only.

## Example

        Gamma> path_node("[2]3:/user");
        2
        Gamma> path_node("3:/user");
        0

Prev | Home | Next
`mkdir` | Up | `rename`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.