Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
env.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: © 2019 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
13#ifndef __UTILS_ENV_H__
14#define __UTILS_ENV_H__
15
27char *
28env_get_string (const char * key, const char * def);
29
37int
38env_get_int (const char * key, int def);
39
44#endif
char * env_get_string(const char *key, const char *def)
Returns a newly allocated string.
int env_get_int(const char *key, int def)
Returns an int for the given environment variable if it exists and is valid, otherwise returns the de...