Zrythm
a highly automated and intuitive digital audio workstation
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
e
f
g
i
m
p
r
t
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
Typedefs
Enumerations
a
b
c
e
f
g
i
k
m
n
p
r
s
t
u
z
Enumerator
a
u
z
Macros
_
a
b
c
d
e
f
h
i
k
m
p
r
s
t
u
v
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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
27
char
*
28
env_get_string
(
const
char
* key,
const
char
* def);
29
37
int
38
env_get_int
(
const
char
* key,
int
def);
39
44
#endif
env_get_string
char * env_get_string(const char *key, const char *def)
Returns a newly allocated string.
env_get_int
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...
utils
env.h
Generated by
1.11.0