diff options
author | Daniel Hahler <git@thequod.de> | 2019-07-30 11:55:55 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-06 01:23:11 +0200 |
commit | d55b12ea508500760796ede2bca9b48f391afb80 (patch) | |
tree | 3547cf74151f62d98809036f69be0610107a301e /src/nvim/os | |
parent | fd66ad226221a22f223dcfca337e893d0a9cca46 (diff) | |
download | rneovim-d55b12ea508500760796ede2bca9b48f391afb80.tar.gz rneovim-d55b12ea508500760796ede2bca9b48f391afb80.tar.bz2 rneovim-d55b12ea508500760796ede2bca9b48f391afb80.zip |
f_environ: cleanup/refactor
- use os_getenvname_at_index / os_getenv
- f_getenv: empty (*p == NUL) is not null (undefined)
Diffstat (limited to 'src/nvim/os')
-rw-r--r-- | src/nvim/os/env.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/os/env.c b/src/nvim/os/env.c index 2278c325ea..bef78d8cc8 100644 --- a/src/nvim/os/env.c +++ b/src/nvim/os/env.c @@ -45,6 +45,7 @@ void env_init(void) } /// Like getenv(), but returns NULL if the variable is empty. +/// @see os_env_exists const char *os_getenv(const char *name) FUNC_ATTR_NONNULL_ALL { |