os_abs.c

来自「File system using stacked.」· C语言 代码 · 共 32 行

C
32
字号
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1997-2002 *	Sleepycat Software.  All rights reserved. */#include "db_config.h"#ifndef lintstatic const char revid[] = "$Id: os_abs.c,v 1.1.1.1 2004/08/19 23:53:56 gopalan Exp $";#endif /* not lint */#ifndef NO_SYSTEM_INCLUDES#include <sys/types.h>#endif#include "db_int.h"/* * __os_abspath -- *	Return if a path is an absolute path. * * PUBLIC: int __os_abspath __P((const char *)); */int__os_abspath(path)	const char *path;{	return (path[0] == '/');}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?