aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auto.def2
-rw-r--r--examples/ssl.server2
-rw-r--r--examples/tcp.server2
-rw-r--r--jim-exec.c2
-rw-r--r--jim_tcl.txt2
5 files changed, 5 insertions, 5 deletions
diff --git a/auto.def b/auto.def
index d1b26f9..4ab620b 100644
--- a/auto.def
+++ b/auto.def
@@ -36,7 +36,7 @@ options {
readdir - Required for glob
package - Package management with the package command
load - Load binary extensions at runtime with load or package
- posix - Posix APIs including os.fork, os.wait, pid
+ posix - Posix APIs including os.fork, os.uptime
regexp - Tcl-compatible regexp, regsub commands
signal - Signal handling
stdlib - Built-in commands including lassign, lambda, alias
diff --git a/examples/ssl.server b/examples/ssl.server
index 7ccb101..bf36646 100644
--- a/examples/ssl.server
+++ b/examples/ssl.server
@@ -5,7 +5,7 @@ set s [socket stream.server 20000]
$s readable {
# Clean up children
- os.wait -nohang 0
+ wait -nohang 0
set sock [[$s accept addr] ssl -server certificate.pem key.pem]
puts "Client address: $addr"
diff --git a/examples/tcp.server b/examples/tcp.server
index a86cd63..c62cd7a 100644
--- a/examples/tcp.server
+++ b/examples/tcp.server
@@ -5,7 +5,7 @@ set s [socket stream.server 20000]
$s readable {
# Clean up children
- os.wait -nohang 0
+ wait -nohang 0
set sock [$s accept addr]
puts "Client address: $addr"
diff --git a/jim-exec.c b/jim-exec.c
index 0d248f4..2ec391b 100644
--- a/jim-exec.c
+++ b/jim-exec.c
@@ -308,7 +308,7 @@ struct WaitInfo
int flags; /* Various flag bits; see below for definitions. */
};
-/* This table is shared by exec and os.wait */
+/* This table is shared by exec and wait */
struct WaitInfoTable {
struct WaitInfo *info; /* Table of outstanding processes */
int size; /* Size of the allocated table */
diff --git a/jim_tcl.txt b/jim_tcl.txt
index d1eaffb..d38a6fe 100644
--- a/jim_tcl.txt
+++ b/jim_tcl.txt
@@ -39,7 +39,7 @@ Some notable differences with Tcl 8.5/8.6 are:
4. Support for references (`ref`/`getref`/`setref`) and garbage collection
5. Builtin dictionary type (`dict`) with some limitations compared to Tcl 8.6
6. `env` command to access environment variables
-7. Operating system features: `os.fork`, `os.wait`, `os.uptime`, `signal`, `alarm`, `sleep`
+7. Operating system features: `os.fork`, `os.uptime`, `wait`, `signal`, `alarm`, `sleep`
8. Much better error reporting. `info stacktrace` as a replacement for '$errorInfo', '$errorCode'
9. Support for "static" variables in procedures
10. Threads and coroutines are not supported