Next: , Previous: Exit Callback Functions, Up: Registration Functions


16.4.5.3 Registering An Extension Version String

You can register a version string which 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 with gawk. gawk does not copy the version string, so it should not be changed.

gawk prints all registered extension version strings when it is invoked with the --version option.