Write key/value pair into a FIFO list.
write-fifo <list> key <key> value <value>
write-fifo adds a key/value pair to the FIFO <list>, specified with string <key> and <value> (in "key" and "value" clauses). It always adds data to the end of the list. <value> is a pointer to any type, allowing storage of any kind of data. <key> and <value> must not go out of scope or be freed while FIFO is used - if necessary, store a copy (see copy-string
new-fifo define nf
write-fifo nf key "mykey" value "myvalue"
Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Icons copyright Paweł Kuna licensed under MIT
. This web page is licensed under CC-BY-SA-4.0