×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2011-01-07 09:35, Scott Klement wrote:
The way I understand it... if you call %realloc() the system will try
to extend your existing allocation if it can. I think, in most cases,
it will...
There's a gotcha though. If the allocated storage contains pointers,
they may no longer be valid after running realloc. Linked lists don't
like that very much. However, it's easily fixed, because with a linked
list, you can just allocate another chunk. That's completely transparent
when traversing the list.
- --
Pete Hall
pete@xxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk0ntDYACgkQXczQcKdXKg5UsgCgqWN+Ww9Zrb3+93fH7pa+iwce
j24AnRrHx4xcyQE1uzDWz2CMYxSuJHby
=ZNZU
-----END PGP SIGNATURE-----
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.