[cs631apue] Confusing with header files

kwang9 kwang9 at stevens.edu
Wed Sep 25 11:27:53 EDT 2013


Dear all,

I solved this issue by using macros:

S_ISFIFO
S_ISDIR
...

Thanks all!
But there is another strange thing on linux-lab when using strmode, even 
if I include <bsd/string.h>, BOMB!:

undefined reference to `strmode'

...

Sincerely,
Kai


More information about the cs631apue mailing list