[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

return value of apr_palloc

From: Jim Blandy <jimb_at_savonarola.red-bean.com>
Date: 2000-08-11 22:04:33 CEST

Dumb question, Greg:

According to _Writing Apache Modules_, one must check the return value
of ap[r]_palloc. According to the code, it will always return
non-zero, and APR_ABORT when it runs out of memory.

Is it kosher for me to assume that if apr_palloc returns, it has
succeeded?
Received on Sat Oct 21 14:36:06 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.