|
NAMEgetsnarf, putsnarf - window system snarf (cut and paste) bufferSYNOPSIS#include <draw.h>char *getsnarf(void) void putsnarf(char *text) DESCRIPTIONGetsnarf and putsnarf access the window system's snarf (cut and paste) buffer.Getsnarf returns a copy of the current buffer; the returned pointer should be freed with free (see when no longer needed. Putsnarf sets the buffer to the text string text. Callers should assume that the snarf buffer is UTF. If the window system does not keep the buffer in UTF, getsnarf and putsnarf will convert as necessary. SOURCE/src/libdraw/snarf.cSEE ALSO Visit the GSP FreeBSD Man Page Interface. |