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

📄 basstr.h

📁 CBASE v1.01 采用Borland公司TC++编写的数据库管理源程序库
💻 H
字号:
/*	Copyright (c) 1989 Citadel	*/
/*	   All Rights Reserved    	*/

/* #ident	"@(#)basstr.h	1.4 - 90/06/21" */

/*man---------------------------------------------------------------------------
NAME
     basstr - BASIC string library

SYNOPSIS
     #include "basstr.h"

DESCRIPTION
     C library of string functions adapted from BASIC.

SEE ALSO
     cvtss.

------------------------------------------------------------------------------*/
#ifndef BASSTR_H	/* prevent multiple includes */
#define BASSTR_H

/* macros */
#define NUL	('\0')	/* nul character */

/* function declarations */
int cvtss(char *t, const char *s, int m, int n);

/* cvtss m macros */
#define CVT_TP		(0x0001)	/* trim the parity bit */
#define CVT_XSP		(0x0002)	/* discard spaces and tabs */
#define CVT_XCTL	(0x0004)	/* discard control characters */
#define CVT_XLEADSP	(0x0008)	/* discard leading spaces and tabs */
#define CVT_1SP		(0x0010)	/* reduce spaces, tabs to one space */
#define CVT_UPPER	(0x0020)	/* convert lowercase to uppercase */
#define CVT_BTOP	(0x0040)	/* convert [ to ( and ] to ) */
#define CVT_XTRAILSP	(0x0080)	/* discard trailing spaces and tabs */
#define CVT_QUOTES	(0x0100)	/* do not alter chars inside single or
					 double quotes except for parity bit
					 trimming */

#endif	/* #ifndef BASSTR_H */

⌨️ 快捷键说明

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