]> Kevux Git Server - fll/commit
Feature: Add missing function f_environment_get_all().
authorKevin Day <thekevinday@gmail.com>
Sat, 9 Jul 2022 16:27:09 +0000 (11:27 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 9 Jul 2022 16:27:09 +0000 (11:27 -0500)
commiteae6daecf8a45aa34cd1913b4d95e956cc52ff45
tree0d7457c18d508905af17c092d6615ae716bad332
parent15fc9eabc696b6bc427d8dcef4c39c82d0b14a2e
Feature: Add missing function f_environment_get_all().

A get all environment variables function should exist.
The POSIX/libc standards do not seem to provide one.

Utilize the "environ" variable to load all of the environment variables into a string map array.
level_0/f_environment/c/environment.c
level_0/f_environment/c/environment.h
level_0/f_environment/data/build/settings-tests
level_0/f_environment/tests/unit/c/test-environment-get_all.c [new file with mode: 0644]
level_0/f_environment/tests/unit/c/test-environment-get_all.h [new file with mode: 0644]
level_0/f_environment/tests/unit/c/test-environment.c
level_0/f_environment/tests/unit/c/test-environment.h