Function

MateDesktopdesktop_prepend_terminal_to_vector

unstable since: 2.0

Declaration [src]

void
mate_desktop_prepend_terminal_to_vector (
  int* argc,
  char*** argv
)

Description [src]

Prepends a terminal (either the one configured as default in the user’s MATE setup, or one of the common xterm emulators) to the passed in vector, modifying it in the process. The vector should be allocated with #g_malloc, as this will #g_free the original vector. Also all elements must have been allocated separately. That is the standard glib/MATE way of doing vectors however. If the integer that argc points to is negative, the size will first be computed. Also note that passing in pointers to a vector that is empty, will just create a new vector for you.

Available since: 2.0

Parameters

argc

Type: int*

A pointer to the vector size.

The data is owned by the caller of the function.
argv

Type: char***

A pointer to the vector.

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