Next: , Up: blocks   [Contents][Index]


6.1 Constructors for blocks

Function: ccmem_block_t ccmem_new_block (uint8_t * ptr, size_t len)

Build and return a new instance, initialised with the given operands.

Function: ccmem_block_t ccmem_new_block_null (void)

Build and return a new instance: the pointer field is set to NULL; the length field is set to zero.

Function: ccmem_block_t ccmem_new_block_from_ascii (ccmem_ascii_t S)

Build and return a new instance initialised with the fields from the given ASCII string.

Function: ccmem_block_t ccmem_new_block_from_asciiz (ccmem_blockz_t B)

Build and return a new instance initialised with the fields from the given ASCIIZ string. The block length includes the terminating zero.


Next: , Up: blocks   [Contents][Index]

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