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
tttk_op_string(library call) tttk_op_string(library call)

tttk_op_string — map a ToolTalk op code to a string

#include &<Tt/tttk.h>
char *tttk_op_string(
Tttk_op opcode);

The tttk_op_string function returns a string containing the op for opcode.

Upon successful completion, the tttk_op_string function returns a string that can be freed using tt_free(3); otherwise, it returns NULL.

The distinctions in the Tttk_op enumerated type are for programmer convenience, and elements of Tttk_op do not necessarily map one-to-one with op strings, since ToolTalk allows ops to be overloaded. For example, TTME_EDIT and TTME_COMPOSE are overloaded on the same op (Edit), and the messages only vary by the Tt_mode of the first argument.

Tt/tttk.h - Tttttk(5), tt_message_op(3), tt_free(3).


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

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