Next: , Previous: , Up: ascii zero   [Contents][Index]


7.2.2 Predicates for ASCII strings

Function: bool ccmem_asciiz_is_empty (ccmem_asciiz_t const S)

Return true if the string is empty, that is: the string length is zero, the string pointer is non–NULL, the string is zero terminated; otherwise return false.

Function: bool ccmem_asciiz_is_null (ccmem_asciiz_t const S)

Return true if the string is null, that is: the string length is zero, the string pointer is NULL; otherwise return false.

Function: bool ccmem_asciiz_is_terminated (ccmem_asciiz_t S)

Return true if the string pointer is not NULL and the string is zero terminated; otherwise return false.


Next: , Previous: , Up: ascii zero   [Contents][Index]

This document describes version 0.2.2-devel.3 of CCMemory.