Moved mch_get_pid and renamed it to os_get_pid

This commit is contained in:
Stefan Hoffmann
2014-04-04 19:53:43 +02:00
committed by Thiago de Arruda
parent f545afaed0
commit a8013f2bb1
9 changed files with 33 additions and 13 deletions

View File

@@ -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