1N/A/*-
1N/A * See the file LICENSE for redistribution information.
1N/A *
1N/A * Copyright (c) 1997, 1998
1N/A * Sleepycat Software. All rights reserved.
1N/A */
1N/A
1N/A#include "config.h"
1N/A
1N/A#ifndef lint
1N/Astatic const char sccsid[] = "@(#)os_abs.c 10.9 (Sleepycat) 7/21/98";
1N/A#endif /* not lint */
1N/A
1N/A#ifndef NO_SYSTEM_INCLUDES
1N/A#include <sys/types.h>
1N/A#endif
1N/A
1N/A#include "db_int.h"
1N/A
1N/A/*
1N/A * __os_abspath --
1N/A * Return if a path is an absolute path.
1N/A *
1N/A * PUBLIC: int __os_abspath __P((const char *));
1N/A */
1N/Aint
1N/A__os_abspath(path)
1N/A const char *path;
1N/A{
1N/A return (path[0] == '/');
1N/A}