Constructor

BirbReadlinenew

since: 0.9

Declaration [src]

BirbReadline*
birb_readline_new (
  const char* prompt
)

Description [src]

Creates a new readline with the given prompt.

Available since: 0.9

Parameters

prompt

Type: const char*

The prompt to display.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: BirbReadline

The new readline.

The caller of the function takes ownership of the data, and is responsible for freeing it.