malloc and OSX

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

malloc and OSX

Postby smd » Sun Apr 05, 2015 6:14 pm

Part of my program is written in Standard POSIX compliant C. some buffers are created using malloc in the usual way. While working on the GUI side of the program, I happened across the help entry for malloc (cursor was on malloc when I hit F1 to check syntax of something else)

The help entry is the typical information. However, in the Portability information, it shows, as expected, it is portable between POSIX, ANSI C, ANSI C++, Win32

But it shows malloc as not portable to Win64 and OSX

So what is the deal with malloc and OSX?

If it is not portable to OSX, what do I use?

Seems ridiculuousness that a core function such as malloc would not be portable to OSX.
Posts: 138
Joined: Sat Nov 29, 2014 8:02 pm
Location: Las Vegas

Re: malloc and OSX

Postby HsiaLin » Mon Apr 06, 2015 8:33 am

I think you`d be better off using google for help than the RAD help files. The RAD help has
gone downhill at 100mph since BCB5.
BCBJ Master
BCBJ Master
Posts: 326
Joined: Sun Jul 08, 2007 6:29 pm

Return to Technical

Who is online

Users browsing this forum: Bing [Bot] and 31 guests