Searched refs:nbElt (Results 1 – 1 of 1) sorted by relevance
31 static void safe_fwrite(void* buf, size_t eltSize, size_t nbElt, FILE* f) in safe_fwrite() argument33 size_t const writtenSize = fwrite(buf, eltSize, nbElt, f); in safe_fwrite()34 size_t const expectedSize = eltSize * nbElt; in safe_fwrite()35 assert(expectedSize / nbElt == eltSize); /* check overflow */ in safe_fwrite()