Gawk/Extension-Version-String
From Get docs
Next: Input Parsers, Previous: Exit Callback Functions, Up: Registration Functions [Contents][Index]
17.4.5.3 Registering An Extension Version String
You can register a version string that indicates the name and
version of your extension with gawk
, as follows:
void register_ext_version(const char *version);
- Register the string pointed to by
version
withgawk
. Note thatgawk
does not copy theversion
string, so it should not be changed.
gawk
prints all registered extension version strings when it
is invoked with the --version
option.