[#TokenPipeEnd-TokenWrite]
= xref:TokenPipeEnd.adoc[TokenPipeEnd]::TokenWrite
:relfileprefix: ../
:mrdocs:

Write token to endpoint&period;

== Synopsis

Declared in `&lt;util&sol;tokenpipe&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
TokenWrite(uint8&lowbar;t token);
----

== Return Value

0 If successful&period; &lt;0 if error&colon; TS&lowbar;ERR If an error happened&period; TS&lowbar;EOS If end of stream happened&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *token*
| The one&hyphen;byte token to write&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
