[cs631apue] <bsd/string.h>
Julian Sexton
jsexton at stevens.edu
Sun Oct 18 14:34:06 EDT 2015
Adding –lbsd in the Makefile worked for me.
From: cs631apue-bounces at lists.stevens.edu [mailto:cs631apue-bounces at lists.stevens.edu] On Behalf Of Anas Alamoudi
Sent: Sunday, October 18, 2015 12:15 PM
To: cs631apue at lists.stevens.edu
Subject: [cs631apue] <bsd/string.h>
Hi,
I’m using strmode(3) and including <bsd/string.h> but it’s not working with -Wall flag. However it works when I add `pkg-config --libs libbsd` to the command. Is there a better way to include this option in my code? or should I include it in the makefile?
Thank you,
Anas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20151018/daf863d7/attachment.html>
More information about the cs631apue
mailing list