/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2006,2007 Oracle. All rights reserved. * * $Id: os_abs.c,v 1.4 2007/05/17 15:15:47 bostic Exp $ */ #include "db_config.h" #include "db_int.h" /* * __os_abspath -- * Return if a path is an absolute path. */ int __os_abspath(path) const char *path; { return (path[0] == 'f' && path[1] == 's' && path[2] == ':'); }