HP OpenVMS Systems

ask the wizard
Content starts here

ioctl calls?

» close window

The Question is:

 
I'm getting errors on some ioctl() calls...
I'm using DEC C++-V, and the calls:
 
   ioctl(id, SIOCGIFCONF, (char *) &ifc)
             and
   ioctl(_sockfd, FIONBIO, &flag)
 
are giving me errors saying "function not implemented"
 
Any idea why????  Thanks...
 
 


The Answer is :

 
  Quite simply, because the function is not implemented...
 
  The recent DEC C and DEC C++ shareable images (shipped with OpenVMS)
  and the recent TCP/IP Services for OpenVMS (UCX) versions have support
  for the ioctl call, and it is not general support.  See the associated
  OpenVMS and UCX documentation for information on what ioctl calls are
  presently supported.
 
  The OpenVMS sys$qiow call is the rough equivilent of the ioctl call;
  it allows the application to directly communicate with the underlying
  device drivers.
 

answer written or last revised on ( 25-AUG-1998 )

» close window