All,
I need the datatype fd_set and the select() function on z/OS but it
seems I'm loosing the fight with the compiler :-(
my source looks quite simple:
#include <sys/types.h>
#include <sys/time.h>
#include <sys/msg.h>
int main(int argc, char *argv[])
{
fd_set bla;
printf("HEEEEEELP!\n");
return(0);
}
And the compiler tells me:
CCN3275 Unexpected text bla encountered.
CCN3045 Undeclared identifier fd_set.
But why?!?!?! What's missing? "fd_set" is defined in sys/time.h
(SYS1.CEE.SCEEH.SYS.H) and I can't see what I'm missing.
Just for the completeness, here are my compiler-options:
DLL
RENT
STRICT
CHARS(UNSIGNED)
LANGLVL(EXTENDED)
ARCH(0)
TUNE(0)
SSCOMM
TARGET(LE)
LSEARCH(DD:USERLIB)
NOOPT
LONGNAME
SOURCE
ROSTRING
OBJECT
PLIST(HOST)
LOCALE(DE_DE.IBM-273)
EXECOPS
NOSTRICT_INDUC
NOWSIZEOF
NOSEQUENCE
NOMARGINS
NOINLINE
NOLIST
NOOFFSET
NOCOMPACT
NOCOMPRESS
NOIGNERRNO
NOINITAUTO
DEFINE(_OS390)
DEFINE(_OE_SOCKETS)
DEFINE(_OPEN_MSGQ_EXT)
DEFINE(_ALL_SOURCE)
Can someone bring me in the right direction?!?!
Thank you very much,
Michael
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html