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

Ns_PathIsAbsolute

Overview

Check for an absolute path name

Syntax

    int Ns_PathIsAbsolute(
    	char *path
    );

Description

This function returns 1 if the path is absolute and 0 otherwise. Under Unix, an absolute path starts with a `/'. Under NT the path can start with a `/', a `\', or an alphabetic character followed by `:'.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.