For all things FFI in the GNU Guile standard library look at: https://www.gnu.org/software/guile/manual/html_node/Foreign-Function-Interface.html
What to point at:
ffi is pointed at the shared objects
-- lilyp
Read more about it at: https://www.nongnu.org/nyacc/ffi-help.html.
The nyacc ffi-helper is a C parser (and C preprocessor), plus a converter that turns declarations from include files into Guile ffi wrapper code.
-- mwette
What to point FFI at:
nyacc OTOH is pointed at the header files
-- lilyp
libarchive
implements all TAR functions and functions for other archive formats.
Wiki:
Most modern tar programs read and write archives in the UStar (Unix Standard TAR[2][10]) format, introduced by the POSIX IEEE P1003.1 standard from 1988.
-- https://en.wikipedia.org/wiki/Tar_%28computing%29#UStar_format
https://wiki.osdev.org/USTAR https://en.wikipedia.org/wiki/Tar_%28computing%29 https://en.wikipedia.org/wiki/Tar_%28computing%29#UStar_format
difficulties will depend on things like memory management
-- RhodiumToad