libnfs

C library for NFS client connections and file operations

brewmacoslinux
Try with needOr install directly
Source

About

C client library for NFS

Examples

mount NFS share and read files programmatically$ gcc -o nfs_client client.c -lnfs && ./nfs_client
list files on remote NFS server$ gcc -o nfs_ls list.c -lnfs && ./nfs_ls nfs://192.168.1.100/export
read file from NFS without mounting filesystem$ gcc -o nfs_read reader.c -lnfs && ./nfs_read nfs://server/path/file.txt
write data to NFS server via library$ gcc -o nfs_write writer.c -lnfs && ./nfs_write nfs://server/path/output.txt
check NFS connection and permissions$ gcc -o nfs_test test.c -lnfs && ./nfs_test nfs://192.168.1.100/share