/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1997-2005 * Sleepycat Software. All rights reserved. * * $Id: os_abs.c,v 12.1 2005/06/16 20:23:23 bostic Exp $ */ #include "db_config.h" #ifndef NO_SYSTEM_INCLUDES #include #endif #include "db_int.h" /* * __os_abspath -- * Return if a path is an absolute path. * * PUBLIC: int __os_abspath __P((const char *)); */ int __os_abspath(path) const char *path; { return (path[0] == '/'); }