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

📄 lls_str.h

📁 C语言库函数的源代码,是C语言学习参考的好文档。
💻 H
字号:
/* +++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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -