Symisc Systems

Libcox Command Reference

Star Follow @symisc

Command Syntax

cat file1 [file2,...]




Obtain a read-only memory view of the whole given files.
Note: For maximum efficiency, we recommend to install a consumer callback which is responsible of handling the file contents when dealing with big sized files rather than extracting the contents as a processing result via libcox_vlaue_to_string(). The user callback is easily registered via libcox_config() with a configuration verb set to LIBCOX_CONFIG_OUTPUT_CONSUMER.



One or more file to process.

Return Value

String: Read-only memory view of the whole given files. Use libcox_value_to_string() to extract the processing result.