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
al_get_clipboard_text(3) al_get_clipboard_text(3)

al_get_clipboard_text - Allegro 5 API


#include <allegro5/allegro.h>
char *al_get_clipboard_text(ALLEGRO_DISPLAY *display)

    

This function returns a pointer to a string, allocated with al_malloc(3) with the text contents of the clipboard if available. If no text is available on the clipboard then this function returns NULL. You must call al_free(3) on the returned pointer when you don’t need it anymore.

Beware that text on the clipboard on Windows may be in Windows format, that is, it may have carriage return newline combinations for the line endings instead of regular newlines for the line endings on Linux or OSX.

5.1.12

al_set_clipboard_text(3), al_clipboard_has_text(3)
Allegro reference manual

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.