Skip site navigation (1)Skip section navigation (2)
Date:      28 Feb 2001 12:49:16 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Tony Finch <dot@dotat.at>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Setting memory allocators for library functions.
Message-ID:  <xzp1ysjyqmb.fsf@flood.ping.uio.no>
In-Reply-To: Tony Finch's message of "Tue, 27 Feb 2001 01:23:09 %2B0000"
References:  <200102230627.f1N6Rk618467@guild.plethora.net> <xzpu25km6mm.fsf@flood.ping.uio.no> <20010227012309.G609@hand.dotat.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Tony Finch <dot@dotat.at> writes:
> What about setrlimit(RLIMIMT_DATA)?

Yep, I'd forgotten about that. Malloc() will return NULL if you hit
your data size limit.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp1ysjyqmb.fsf>