1/*-
2 * See the file LICENSE for redistribution information.
3 *
4 * Copyright (c) 1997,2008 Oracle.  All rights reserved.
5 *
6 * $Id: os_abs.c,v 12.7 2008/01/08 20:58:43 bostic Exp $
7 */
8
9#include "db_config.h"
10
11#include "db_int.h"
12
13/*
14 * __os_abspath --
15 *	Return if a path is an absolute path.
16 *
17 * PUBLIC: int __os_abspath __P((const char *));
18 */
19int
20__os_abspath(path)
21	const char *path;
22{
23	return (path[0] == '/');
24}
25