Next: , Previous: , 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 with gawk. Note that 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.