Next: , Previous: Finding Extensions, Up: Dynamic Extensions   [Contents][Index]

16.6 Example: Some File Functions

No matter where you go, there you are.

Buckaroo Banzai

Two useful functions that are not in awk are chdir() (so that an awk program can change its directory) and stat() (so that an awk program can gather information about a file). In order to illustrate the API in action, this section implements these functions for gawk in an extension.