[cs631apue] [CS631] #define _XOPEN_SOURCE 500

tparisi tparisi at stevens.edu
Mon Oct 29 16:52:18 EDT 2012


Hi,
I am having trouble getting pread() to work.  I know from the man page 
that I am to include unistd.h and add #define _XOPEN_SOURCE 500 to the 
file but I am getting this error when I add the #define line: 
/usr/include/bsd/stdlib.h:47: error: expected ‘)’ before ‘*’ token.
Thanks,
Tom



More information about the cs631apue mailing list