[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Some memory reallocation in kernel mode



On Thu, Dec 07, 2000 at 09:23:27PM +0530, Ketan Mehta wrote:
>  
>  Hi all,
>          I have a situation where I have allocated a memory chunk to
> request
>  some data. Ultimately, I end up getting much lesser data than I had
>  requested for. Now I want to just retain the got data and free the
>  unused chunk from my earlier allocated chunk. How do I go about doing
>  this?
>          Any pointer or suggestion are welcome.

man realloc

	-Arun