absolute_path

absolute_path — returns the absolute path of the given file.

Syntax

absolute_path (filename)

		

Arguments

filename

The name of a disk file.

Returns

The absolute path of the file.

Description

This function returns the absolute path of the given file, with extraneous ../ constructs removed, and with the full QNX 4 node number added. The filename can be relative or absolute, on any node on the network.

Example

Gamma> absolute_path(".profile");	
"//1/home/andrewt/.profile"