lls_str.h
来自「c语言库函数!里面包含了所以c语言中的系统函数的实现及其详细说明和代码!请大家及」· C头文件 代码 · 共 44 行
H
44 行
/* +++Date last modified: 05-Jul-1997 */
/* =======================================================================
LLS_STR.h Generic Singly Linked List for Strings.
v1.00 94-08-11
- Based on the LLS_BLOB module for variable size data-
items. Use the functions in the LLS module for
operations not specific to Strings.
- Refer to LLS_BLOB.h for comments.
- Note that ALL functions of LLS_BLOB are redefined
for consistency reasons.
This module has no associated .C files.
_____ This version is Public Domain.
/_|__| A.Reitsma, Delft, The Netherlands.
/ | \ --------------------------------------------------------------- */
#ifndef LLS_STR__H
#define LLS_STR__H
#include <string.h>
#include "lls_blob.h"
#define LLSstringCreate() LLSblobCreate()
#define LLSstringInsert(l,s) LLSblobInsert( l, s, strlen( s ) +1 )
#define LLSstringAdd(l,s) LLSblobAdd( l, s, strlen( s ) +1 )
#define LLSstringPrepend(l,s) LLSblobPrepend( l, s, strlen( s ) +1 )
#define LLSstringAppend(l,s) LLSblobAppend( l, s, strlen( s ) +1 )
#define LLSstringDelete(l) LLSblobDelete( l )
#define LLSstringData(l,d) LLSblobData( l, d )
/* returns strlen() +1 !!! */
#endif /* LLS_STR__H */
/* ==== LLS_STR.h end ================================================ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?