2
* See the file LICENSE for redistribution information.
4
* Copyright (c) 1997-2001
5
* Sleepycat Software. All rights reserved.
11
static const char revid[] = "$Id: os_abs.c,v 1.6 2001/05/23 14:47:23 sue Exp $";
19
* Return if a path is an absolute path.
29
* VxWorks devices can be rooted at any name at all.
30
* Use iosDevFind() to see if name matches any of our devices.
32
if ((dummy = iosDevFind((char *)path, &ptail)) == NULL)
35
* If the routine used a device, then ptail points to the
36
* rest and we are an abs path.
41
* If the path starts with a '/', then we are an absolute path,
42
* using the host machine, otherwise we are not.
44
return (path[0] == '/');