Importing C libs that aren't in stdlib
Hello all. I have a function that I want to call that belongs to a C program, net-tools/rarp.c at master * ecki/net-tools * GitHub ... Since the net-tools package isn't standard on Ubuntu, it requires an apt-get install.
Now if I want to import a function from rarp, how would I go about doing that? Should I copy and paste the code into my project's directory? I can see the executable in /sbin/rarp. But how can I use some of the functions from that in my own C code? Thanks for helping me learn :biggrin: