MEMMERKER

Top  Previous  Next

Administer from long texts.

Functions are provided similarly strlen, strcat... which work with string dynamic length and use this efficiently.

The data are put on by the functions with Malloc.

The treatment functions hot SYSmem*.

typedef struct memMerker {

long int len;

char * ptr;

char * read;

} MEMMERKER;

len (long int)

Maximum length of the string. With excess a Realloc is automatically carried out.

ptr (char *)

Pointer on the topical string.

read (char *)

Pointer on a position in the string shortly before his end. Herewith chaining and measuring of the string length can be accelerated.