aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/fs.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-15 16:11:01 +0200
committerGitHub <noreply@github.com>2017-05-15 16:11:01 +0200
commit597d65b4b7e10e3155837c3962e35283fc414d8d (patch)
tree460d308091e7b6d0a43bf0d7b7a597b42a20f9ba /src/nvim/os/fs.c
parent8e052f677ee80414a4ef635afb5ce0f323f602f3 (diff)
parentcc5a42a77485cc09f6215326d3b5ed1ec139fba6 (diff)
downloadrneovim-597d65b4b7e10e3155837c3962e35283fc414d8d.tar.gz
rneovim-597d65b4b7e10e3155837c3962e35283fc414d8d.tar.bz2
rneovim-597d65b4b7e10e3155837c3962e35283fc414d8d.zip
Merge #6741 from justinmk/progpath
Diffstat (limited to 'src/nvim/os/fs.c')
-rw-r--r--src/nvim/os/fs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index aaa750db50..b9a9480cb8 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -196,11 +196,13 @@ int os_nodetype(const char *name)
}
/// Gets the absolute path of the currently running executable.
+/// May fail if procfs is missing. #6734
+/// @see path_exepath
///
-/// @param[out] buffer Returns the path string.
+/// @param[out] buffer Full path to the executable.
/// @param[in] size Size of `buffer`.
///
-/// @return `0` on success, or libuv error code on failure.
+/// @return 0 on success, or libuv error code.
int os_exepath(char *buffer, size_t *size)
FUNC_ATTR_NONNULL_ALL
{