Post by RamraoMy group "PORTEX" is working on converting PE File format to ELF file
format. we need to implement kernel32.dll file functions like
heapcreat , heapdestroy , malloc , valloc etc. on linux . does linux
have equivalent fuctions ?
It depends on the function, of course.
- malloc() is a standard C function, supported by glibc under Linux
- valloc() is a BSD function, supported by glibc under Linux
- heapcreat, heapdestroy, etc, aren't /directly/ supported in Linux, but
(depending on what they do on MSWindows) /may/ have Linux equivalents with
different names. My guess is that they refer to multithreaded memory
management, which is usually covered by the posix_threads library.
You really need to pick up some manuals on porting from Windows to Unix, or
use a porting library (like winelib or vxWindows).
--
Lew Pitcher, IT Consultant, Application Architecture
Enterprise Technology Solutions, TD Bank Financial Group
(Opinions expressed here are my own, not my employer's)