You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Graham Leggett <mi...@sharp.fm> on 2004/05/22 03:42:31 UTC

return code of apr_shm_baseaddr_get()

Hi,

The above function returns a pointer to the base address of the shared 
memory segment. Will this function ever return NULL? It does not mention 
possible failure conditions in the docs at 
http://apr.apache.org/docs/apr/group__apr__shm.html#a5

Regards,
Graham
--

Re: return code of apr_shm_baseaddr_get()

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Sat, May 22, 2004 at 03:42:31AM +0200, Graham Leggett wrote:
> The above function returns a pointer to the base address of the shared 
> memory segment. Will this function ever return NULL? It does not mention 
> possible failure conditions in the docs at 
> http://apr.apache.org/docs/apr/group__apr__shm.html#a5

No; this function doesn't ever fail.

joe