Hi All,
In Linux, how do I call system functions from Perl 6?
int XStoreBytes(Display *display, char *bytes, int nbytes);
And what is that? "C"?
Is there an inline "C" call?
Many thanks,
-T
man XStoreBuffer
NAME
XStoreBytes, XStoreBuffer, XFetchBytes, XFetchBuffer,
XRotateBuffers - manipulate cut and paste buffers
SYNTAX
int XStoreBytes(Display *display, char *bytes, int nbytes);
int XStoreBuffer(Display *display, char *bytes, int nbytes, int buf‐
fer);
char *XFetchBytes(Display *display, int *nbytes_return);
char *XFetchBuffer(Display *display, int *nbytes_return, int
buffer);
int XRotateBuffers(Display *display, int rotate);
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~