Macaw OS C reference

Function platform

#include <macaw.h>
int platform(char *buf, int size);

Tells you what Macaw OS is running on.

Parameters

bufchar *
Where the name goes: "windows", "web", "emac" (a PowerPC Mac), "mac9" (Mac OS 9), "mac" or "unix".
sizeint
How many bytes buf holds. A name that doesn't fit is cut short.

Returns int

The name's whole length.

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