diff options
author | Stefan Hoffmann <stefan991@gmail.com> | 2014-04-04 19:53:43 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-05 20:19:38 -0300 |
commit | a8013f2bb1b7e62c273f7a7da58653aa82e9c5ca (patch) | |
tree | 11807ea29c41ed7b6ed2769185e5283969e7fe8b /src/os/os.h | |
parent | f545afaed0304838881930c6a5944f2c6523322e (diff) | |
download | rneovim-a8013f2bb1b7e62c273f7a7da58653aa82e9c5ca.tar.gz rneovim-a8013f2bb1b7e62c273f7a7da58653aa82e9c5ca.tar.bz2 rneovim-a8013f2bb1b7e62c273f7a7da58653aa82e9c5ca.zip |
Moved mch_get_pid and renamed it to os_get_pid
Diffstat (limited to 'src/os/os.h')
-rw-r--r-- | src/os/os.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os/os.h b/src/os/os.h index bc3da1c8ff..1e874c29a5 100644 --- a/src/os/os.h +++ b/src/os/os.h @@ -82,6 +82,11 @@ long_u os_total_mem(int special); const char *os_getenv(const char *name); int os_setenv(const char *name, const char *value, int overwrite); char *os_getenvname_at_index(size_t index); + +/// Get the process ID of the Neovim process. +/// +/// @return the process ID. +long os_get_pid(void); int os_get_usernames(garray_T *usernames); int os_get_user_name(char *s, size_t len); int os_get_uname(uid_t uid, char *s, size_t len); |