# `./fio-stl/001 patches.h`

2 public symbols.

### Functions

#### `fio_sys_env`

```c
inline char *fio_sys_env(const char *name)
```

Portable getenv: returns the value of environment variable `name`, or NULL.
Thin wrapper around getenv for API uniformity across platforms.

_Symbol type:_ `function`

#### `fio_sys_env_set`

```c
inline int fio_sys_env_set(const char *name, const char *value, int overwrite)
```

Portable setenv: sets environment variable `name` to `value`.
If `overwrite` is zero and the variable already exists, does nothing.
Returns 0 on success, -1 on failure.

_Symbol type:_ `function`

-----------------------------------------------------
