(gawk.info.gz) Dynamic Extensions

Info Catalog (gawk.info.gz) Additions (gawk.info.gz) Notes (gawk.info.gz) Future Extensions
 
 C.3 Adding New Built-in Functions to `gawk'
 ===========================================
 
      Danger Will Robinson!  Danger!!
      Warning! Warning!
      The Robot
 
    Beginning with `gawk' 3.1, it is possible to add new built-in
 functions to `gawk' using dynamically loaded libraries. This facility
 is available on systems (such as GNU/Linux) that support the `dlopen'
 and `dlsym' functions.  This minor node describes how to write and use
 dynamically loaded extensions for `gawk'.  Experience with programming
 in C or C++ is necessary when reading this minor node.
 
    *Caution:* The facilities described in this minor node are very much
 subject to change in a future `gawk' release.  Be aware that you may
 have to re-do everything, perhaps from scratch, at some future time.
 
    *Caution:* If you have written your own dynamic extensions, be sure
 to recompile them for each new `gawk' release.  There is no guarantee
 of binary compatibility between different releases, nor will there ever
 be such a guarantee.
 

Menu

 
* Internals                   A brief look at some `gawk' internals.
* Sample Library              A example of new functions.
 
Info Catalog (gawk.info.gz) Additions (gawk.info.gz) Notes (gawk.info.gz) Future Extensions
automatically generated by info2html