StrBegin
StrBegin
Description
Get pointer to first character in string
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Str.c:113:
case STR_BEGIN : {
char *begin = StrBegin(str);
(void)begin; // Suppress unused variable warning
break;- In
Str.Access.c:52:
// Test StrBegin function
bool test_str_begin(void) {
WriteFmt("Testing StrBegin\n");
Str s = StrInitFromZstr("Hello");- In
Str.Access.c:57:
// Get a pointer to the first character using StrBegin
char *begin = StrBegin(&s);
// Check that the pointer is correct
Last updated on