Update.
[glibc.git] / db2 / os / os_abs.c
blob872e46d058057e6c5f72aa4106cc156825045fdd
1 /*-
2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 1997
5 * Sleepycat Software. All rights reserved.
6 */
8 #include "config.h"
10 #ifndef lint
11 static const char sccsid[] = "@(#)os_abs.c 10.7 (Sleepycat) 10/24/97";
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] == '/');