StrPushFront
Description
Unsuffixed default – alias for StrPushFrontL.
Success
Returns true; the character is prepended at the head; the source char lvalue is zeroed-on-take per the L-form invariant.
Failure
Returns false on allocation failure. str unchanged.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Str.Insert.c:237:
// Test StrPushFront function
bool test_str_push_front(void) {
WriteFmt("Testing StrPushFront\n");
DefaultAllocator alloc = DefaultAllocatorInit();
Last updated on