diff --git a/doc/api.txt b/doc/api.txt index c745bc8716..b4e35ab9b6 100644 --- a/doc/api.txt +++ b/doc/api.txt @@ -154,9 +154,9 @@ Send a signal to a process. +pid+ is the process id and +signal+ is the signal to send; for example, "SIGINT" or "SIGUSR1". See kill(2) for more information. -+process.compile(source, scriptOrigin)+:: -Just like +eval()+ except that you can specify a +scriptOrigin+ for better -error reporting. ++process.compile(code, scriptOrigin)+:: +Similar to +eval()+ except that you can specify a +scriptOrigin+ for better +error reporting and the +code+ cannot see the local scope. +process.mixin([deep], target, object1, [objectN])+ :: Extend one object with one or more others, returning the modified object.