summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-08 09:17:22 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-08 09:17:22 +0000
commitc27baaa090d038f92ea7af89cfa054412bbf8d5d (patch)
treee8d096c988ef48437d304afe81481098b0d2086b /process.c
parent1625494febb1039346613868f826d1263acc795d (diff)
* win32/win32.c (getppid): typo. [ruby-dev:36202]
* process.c (get_ppid): mention the return value on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index 8acfcc36db..a1c8ce8863 100644
--- a/process.c
+++ b/process.c
@@ -162,8 +162,8 @@ get_pid(void)
* call-seq:
* Process.ppid => fixnum
*
- * Returns the process id of the parent of this process. Always
- * returns 0 on NT. Not available on all platforms.
+ * Returns the process id of the parent of this process. Returns
+ * untrustworthy value on Win32/64. Not available on all platforms.
*
* puts "I am #{Process.pid}"
* Process.fork { puts "Dad is #{Process.ppid}" }