There are functions which allocate initialized memory, and are frequently useful. The functionap_pcallochas the same interface asap_palloc, but clears out the memory it allocates before it returns it. The functionap_pstrduptakes a resource pool and achar *as arguments, and allocates memory for...