GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GETSNARF(3) FreeBSD Library Functions Manual GETSNARF(3)

getsnarf, putsnarf - window system snarf (cut and paste) buffer

#include <draw.h>

char *getsnarf(void)

void putsnarf(char *text)

Getsnarf 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.

/src/libdraw/snarf.c


Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.