beetlebug▾
/

info sharedlibextension

Gives the file extension of a shared library.

info sharedlibextension

Description

Gives .so on each host, also on Windows and macOS.

Returns

.so.

Examples

% info sharedlibextension
.so

Errors

% info sharedlibextension x
wrong # args: should be "info sharedlibextension"
-errorcode TCL WRONGARGS

Differences from Tcl

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztcl 1.0.0-beta.1

See also