Yes i know the old_size, but there are several pointers in my program
which r using realloc's..(actually im trying to implement the samba
server inside the kernel, following parts of samba code). as reallocs
r quiet common in normal c code., i'm searching for a equivalent of it in
the kernel. any suggestions?
On Thu, 3 Feb 2000, Jan-Simon Pendry wrote:
> if you don't know what old_size was, how do you know whether or
> not you need to realloc?
> Hari Krishna wrote:
> > Thanks,
> > but its difficult to keep track of old_size, is there any
> > other way to get the old_size, than getting it from the vmlist?
> > HARI.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:09 EST