* Helper for allocating space for an array of nmemb elements * with size bytes for each element. */
| 64 | * with size bytes for each element. |
| 65 | */ |
| 66 | void *t_calloc(size_t nmemb, size_t size) |
| 67 | { |
| 68 | void *ret; |
| 69 | ret = calloc(nmemb, size); |
| 70 | assert(ret); |
| 71 | return ret; |
| 72 | } |
| 73 | |
| 74 | /* |
| 75 | * Helper for creating file and write @size byte buf with 0xaa value in the file. |
no outgoing calls