From c5e22024783ec34ea248ebc92a1e4deefb12ce2f Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 23 Apr 2013 22:46:03 +0300 Subject: Add PROCINFO entries for API major and minor versions. --- doc/gawk.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/gawk.texi') diff --git a/doc/gawk.texi b/doc/gawk.texi index 1684e901..abebbb41 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -13856,6 +13856,19 @@ The maximum precision supported by MPFR. The minimum precision required by MPFR. @end table +The following additional elements in the array are available to provide +information about the version of the extension API, if your version +of @command{gawk} supports dynamic loading of extension functions +(@pxref{Dynamic Extensions}): + +@table @code +@item PROCINFO["api_major"] +The major version of the extension API. + +@item PROCINFO["api_minor"] +The minor version of the extension API. +@end table + On some systems, there may be elements in the array, @code{"group1"} through @code{"group@var{N}"} for some @var{N}. @var{N} is the number of supplementary groups that the process has. Use the @code{in} operator -- cgit v1.2.3