Sunday, January 20, 2019

read and write,common form

linux has a command line read that tokenizes,it is the standard.
linux has standard read and write system calls to fd things.

xchars can offer a write, console loop offer a write to the flush buffer, o fluch offers it.

write and read means flush scalar strings, meant t be low level, no string syntax. One set up cnhave multiple write methods from differing snippets, they al have the right to write.

So, we have to have named commons. flush write, xchars write, io write; always specifying the name space for the commons. The alternative is to have a common FD style system, be we don't need it,  name prefix is as good, and comes as plain text.

The simplest approach is already done, the snippets have named entry points. It is up to the authors and data manages to split the name resources between system unique and names prefixes. In default the console loop just follows the table specifiers on look up, and its order begins with the built ins. So a simple rule to avoid name conflicts from the commons is a namespace prefix.

No comments: