Macaw OS C reference

Function sys_version

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

Tells you which version of Macaw OS this is.

Parameters

bufchar *
Where the version goes, as text.
sizeint
How many bytes buf holds. Text that doesn't fit is cut short.

Returns int

The version's whole length.

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