Which includes and librariries are required to use zfs from a userland C program?. .e.g. create/destroy a filesystem and snapshot.
The only include I can find that uses zfs is /usr/include/libzfs_core.h, which requires nvpair, which requires a bunch of solaris typedefs to compile.
It seems that the required includes are in /usr/src but not included in world???
The only include I can find that uses zfs is /usr/include/libzfs_core.h, which requires nvpair, which requires a bunch of solaris typedefs to compile.
It seems that the required includes are in /usr/src but not included in world???