Subject: realloc
To: None <tech-kern@NetBSD.ORG>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: tech-kern
Date: 06/03/1996 18:15:54
I am trying to port some Mach kernel code (a Mac file system
vfs package), and am wondering what to do about some calls
in it, namely calles to realloc(existing pointer, new size).
Should I just change them to free(existing, M_);
malloc(new size, M_, flags)? Or is there a better way?

Thanks!

Bill