os_abs.c

Go to the documentation of this file.
00001 /*-
00002  * See the file LICENSE for redistribution information.
00003  *
00004  * Copyright (c) 1997, 1998, 1999, 2000
00005  *      Sleepycat Software.  All rights reserved.
00006  */
00007 
00008 #include "config.h"
00009 
00010 #ifndef lint
00011 static const char revid[] = "$Id: os__abs_8c-source.html,v 1.1 2008/06/08 10:21:05 sebdiaz Exp $";
00012 #endif /* not lint */
00013 
00014 #ifndef NO_SYSTEM_INCLUDES
00015 #include <sys/types.h>
00016 #endif
00017 
00018 #include "db_int.h"
00019 
00020 /*
00021  * CDB___os_abspath --
00022  *      Return if a path is an absolute path.
00023  *
00024  * PUBLIC: int CDB___os_abspath __P((const char *));
00025  */
00026 int
00027 CDB___os_abspath(path)
00028         const char *path;
00029 {
00030         return (path[0] == '/');
00031 }

Generated on Sun Jun 8 10:56:38 2008 for GNUmifluz by  doxygen 1.5.5