Macaw OS C reference

Function memory

#include <macaw.h>
void memory(double *mine, double *used, double *total);

Tells you how much memory your program has and how much the machine has.

Parameters

minedouble *
Where to put how many bytes your program has asked for: the address of a double, or NULL.
useddouble *
Where to put how many bytes every program together is using: a double's address, or NULL.
totaldouble *
Where to put how many bytes the machine has (512 MB): a double's address, or NULL.

In The system, with platform, ismac, modkey, sys_version, sys_fps, sys_display, sys_volume, sys_screenshot, sys_title, sys_cursor, sys_clipboard, sys_setclipboard.