2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 1997-2009 Oracle. All rights reserved.
16 * Return if a path is an absolute path.
26 * VxWorks devices can be rooted at any name at all.
27 * Use iosDevFind() to see if name matches any of our devices.
29 if ((dummy = iosDevFind(path, (const char**)&ptail)) == NULL)
32 * If the routine used a device, then ptail points to the
33 * rest and we are an abs path.
38 * If the path starts with a '/', then we are an absolute path,
39 * using the host machine, otherwise we are not.
41 return (path[0] == '/');