Method

BirbReadlineread_stdin_async

since: 0.9

Declaration [src]

void
birb_readline_read_stdin_async (
  BirbReadline* readline,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Calls birb_readline_read_stream_async() with STDIN as the stream.

Available since: 0.9

This method completes asynchronously. Use () inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

cancellable

Type: GCancellable

An optional cancellable.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

An optional callback.

The argument can be NULL.
data

Type: gpointer

The user data to pass to the callback.

The argument can be NULL.
The data is owned by the caller of the method.