Richard Hartmann wrote:
> On Wed, Feb 20, 2008 at 8:10 PM, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> 
> 
>>  + getpid()      Return a Number which is the process ID of the Vim process.
>>  +               On Unix this is a unique number.  On MS-DOS it's always 
>> zero.
> 
> At least on Linux, it's not a unique number. It isn't even unique during
> a single uptime, as the counter will roll over at 65534 and start
> re-using freed PIDs. Slightly different, but same principle for Linux
> systems with randomized PIDs.

But it's unique during the period that the Vim process is running, which is the 
only time the function can be called, and the only time the concept of a 
process 
ID really makes sense! I think 'unique' here didn't mean for all space and time!

Ben.



Send instant messages to your online friends http://au.messenger.yahoo.com 


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui