We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm really confused as to how to just pull a String out from a double pointer. I'm trying to bind the libpcap interface here: http://www.tcpdump.org/manpages/pcap_next_ex.3pcap.html
The FFI seems to succeed, the Ptr is filled, but fails trying to turn it into a String.
Use the code here: https://gitlab.com/locallycompact/pcap-idris
nix-shell -p gnumake -p gmp -p libpcap -p glibc stack exec --nix-packages libpcap --resolver lts-11.14 -- idris --cg-opt '-D_GNU_SOURCE' --package contrib pcap.idr -o pcap
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I'm really confused as to how to just pull a String out from a double pointer. I'm trying to bind the libpcap interface here: http://www.tcpdump.org/manpages/pcap_next_ex.3pcap.html
The FFI seems to succeed, the Ptr is filled, but fails trying to turn it into a String.
Steps to Reproduce
Use the code here: https://gitlab.com/locallycompact/pcap-idris
The text was updated successfully, but these errors were encountered: