C-Menu 0.2.9
A User Interface Toolkit
Loading...
Searching...
No Matches
String Struct Reference

The String structure represents a string object with a pointer to the string and its allocated length. More...

#include <cm.h>

Collaboration diagram for String:
[legend]

Data Fields

char * s
size_t l

Detailed Description

The String structure represents a string object with a pointer to the string and its allocated length.

Definition at line 584 of file cm.h.

Field Documentation

◆ l

size_t String::l

allocated length

Definition at line 586 of file cm.h.

Referenced by free_string(), mk_string(), string_cat(), string_cpy(), string_ncat(), string_ncpy(), and to_string().

◆ s

char* String::s

pointer to the string

Definition at line 585 of file cm.h.

Referenced by free_string(), mk_string(), string_cat(), string_cpy(), string_ncat(), string_ncpy(), and to_string().


The documentation for this struct was generated from the following file: