libwget-console(3)

libwget-console3

Console functions

Usage

Functions

void wget_console_set_fg_color (WGET_GCC_UNUSED wget_console_color colorid)
void wget_console_reset_fg_color (void)
int wget_console_init (void)
int wget_console_deinit (void)

Detailed Description

Routines to address console controls like cursor positioning, fg+bg colors, ...

Function Documentation

void wget_console_set_fg_color (WGET_GCC_UNUSED wget_console_color colorid)

Parameters

colorid Number of foreground/text color to set

Sets the console foreground (text) color.

void wget_console_reset_fg_color (void)

Resets the console foreground (text) color.

int wget_console_init (void)

Returns

0 on success, or -1 on error

Initializes the console.

int wget_console_deinit (void)

Returns

0 on success, or -1 on error

Deinitializes the console.

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11–12
  3. 13

Author

Generated automatically by Doxygen for wget2 from the source code.

From wget2-dev 2.2.0+ds-1+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.