The pcap_lookupdev() fills in the errbuf variable when run as non-root user, while the same functions returns the value of the first available network interface
pcap_lookupdev()
It mostly depends on OS. Not all pcap functions require root privilege on all OS.
pcap
Ref to Reference Manual Pages, all special privilege requirements are listed respectively.