mbkgetenv(3)

mbkgetenv3

Get an environment variable

Usage

#include MUT_H

char *mbkgetenv(const char *name);

Overview

The mbkgetenv() function searches the environment list for a string that matches the string pointed to by name. The strings are of the form name = value.

Return value

The mbkgetenv() function returns a pointer to the value in the environment, or NULL if there is no match. If MBK_TRACE_GETENV is set to "yes", mbkgetenv() will print debug info to stdout before thre real getenv() syscall is done.

Releases

Unchanged in 4 releases since Debian 7 (Wheezy).

  1. 7–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.