I've put all the standard C functions I use into one file, which you may find useful.
[attachment deleted by admin]
Only if you use the headers file - which I don't. This is an alternative to it, although it only allows access to standard C functions, and no operating system stuff...
You should have made that with IMPORT now and a shiny .gbas file ;)
Quite true - didn't think of IMPORT :)
However, I did try it with tmpnam :
IMPORT "C" char *tmpnam(char *str)
and I just keep getting a syntax error...
const char* :)
Tried it with that too...
Think I've sorted it - normally I put the pointer symbol next to the function/variable it applies to. However, IMPORT requires it next to the type...