Hello, instead of adding or having the sequence of malloc(), memset() in all places where a definitely sane initialized structure is required it would make more sense to introduce a single function doing both. (The standard "calloc()" does not suit well here.) Overall that should even slightly decrease code size. Reinhard