1 1 16.6 Example: Some File Functions 1 ================================= 1 1 No matter where you go, there you are. 1 -- _Buckaroo Banzai_ 1 1 Two useful functions that are not in 'awk' are 'chdir()' (so that an 1 'awk' program can change its directory) and 'stat()' (so that an 'awk' 1 program can gather information about a file). In order to illustrate 1 the API in action, this minor node implements these functions for 'gawk' 1 in an extension. 1
1 · Internal File Description What the new functions will do. · Internal File Ops The code for internal file operations. · Using Internal File Ops How to use an external extension. 1