DragonFly On-Line Manual Pages

Search: Section:  


SHTK_CLI_INFO(3)      DragonFly Library Functions Manual      SHTK_CLI_INFO(3)

NAME

shtk_cli_info - Prints an informational message

LIBRARY

shtk_import cli

SYNOPSIS

shtk_cli_info message1 [.. messageN]

DESCRIPTION

The shtk_cli_info function prints the given informational message to stderr. The message can be provided as one or more arguments as depicted by message1 to messageN; all arguments are concatenated together into a single line. The printed message has the following form, where `progname' is determined by shtk_cli_progname(3): progname: I: message1 .. messageN shtk_cli_info should be used to report script execution progress to the user instead of relying on simple echo(1) calls. This is to ensure that all log messages are properly sent to stderr.

SEE ALSO

shtk(3), shtk_cli(3)

HISTORY

shtk_cli_info first appeared in shtk 1.0. DragonFly 6.5-DEVELOPMENT November 5, 2014 DragonFly 6.5-DEVELOPMENT

Search: Section: