mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 22:38:16 +00:00
Moved mch_get_pid and renamed it to os_get_pid
This commit is contained in:

committed by
Thiago de Arruda

parent
f545afaed0
commit
a8013f2bb1
@@ -424,14 +424,6 @@ void mch_get_host_name(char_u *s, int len)
|
||||
}
|
||||
#endif /* HAVE_SYS_UTSNAME_H */
|
||||
|
||||
/*
|
||||
* return process ID
|
||||
*/
|
||||
long mch_get_pid()
|
||||
{
|
||||
return (long)getpid();
|
||||
}
|
||||
|
||||
#if defined(USE_FNAME_CASE) || defined(PROTO)
|
||||
/*
|
||||
* Set the case of the file name, if it already exists. This will cause the
|
||||
|
Reference in New Issue
Block a user