While waiting for my new m/c && AOS-5.1 to arrive, I've been keeping my brain busy outlining an app which, if it works nicely, I'd like to offer to the AN Free Fun Stuff section. May I keep its nature vague for now? I'm hoping someone can show me some simple 'C' code that copies text to the AOS (5.1, if it matters) clipboard. I admit to being lazy but I do want to get it right (and safe) and researches suggest clipboard interfacing can be a can of worms.
Essentially, my app supplies char *pText where the string pointed to can be up to 200 chars (plus final \0) long. If commanded, the app generates the string and copies it; otherwise, the string is only displayed on screen, allowing it to be redirected or piped in the usual way.
Maybe this has been asked before. I did look but maybe in too much haste.