⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stringutils.h

📁 关系型数据库 Postgresql 6.5.2
💻 H
字号:
/*------------------------------------------------------------------------- * * stringutils.h * * * Copyright (c) 1994, Regents of the University of California * * $Id: stringutils.h,v 1.8 1999/02/13 23:20:42 momjian Exp $ * *------------------------------------------------------------------------- */#ifndef STRINGUTILS_H#define STRINGUTILS_H/* use this for memory checking of alloc and free using Tcl's memory check  package*/#ifdef TCL_MEM_DEBUG#include <tcl.h>#define malloc(x) ckalloc(x)#define free(x) ckfree(x)#define realloc(x,y) ckrealloc(x,y)#endif/* string fiddling utilties *//* all routines assume null-terminated strings! as arguments *//* removes whitespaces from the left, right and both sides of a string *//* MODIFIES the string passed in and returns the head of it */extern char *rightTrim(char *s);#ifdef STRINGUTILS_TESTextern void testStringUtils();#endif#ifndef NULL_STR#define NULL_STR (char*)0#endif#ifndef NULL#define NULL 0#endif#endif	 /* STRINGUTILS_H */

⌨️ 快捷键说明

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