Function getclipboard
#include <macaw.h>int getclipboard(char *buf, int size);
Gets the text on the clipboard, the one every Macaw OS program shares with the computer underneath.
Parameters
bufchar *- Where the clipboard's text goes.
sizeint- How many bytes
bufholds. Text that doesn't fit is cut short.
Returns int
The whole text's length, or 0 if the clipboard is empty.
In The clipboard, with setclipboard.