Update.
[glibc.git] / db2 / os / os_abs.c
blobd9f49704677f5ba7d7ef51d4b1b79a344d725e62
1 /*-
2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 1997, 1998
5 * Sleepycat Software. All rights reserved.
6 */
8 #include "config.h"
10 #ifndef lint
11 static const char sccsid[] = "@(#)os_abs.c 10.8 (Sleepycat) 4/10/98";
12 #endif /* not lint */
14 #ifndef NO_SYSTEM_INCLUDES
15 #include <sys/types.h>
16 #endif
18 #include "db_int.h"
21 * __db_abspath --
22 * Return if a path is an absolute path.
24 * PUBLIC: int __db_abspath __P((const char *));
26 int
27 __db_abspath(path)
28 const char *path;
30 return (path[0] == '/');