Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP OpenVMS Systems

Ask the Wizard
» 

HP OpenVMS Systems

OpenVMS information

» What's new on our site
» Upcoming events
» Configuration and buying assistance
» Send us your comments

HP OpenVMS systems

» OpenVMS software
» Supported Servers
» OpenVMS virtualization
» OpenVMS solutions and partners
» OpenVMS success stories
» OpenVMS service and support
» OpenVMS resources and information
» OpenVMS documentation
» Education and training

Evolving business value

» Business Systems Evolution
» AlphaServer systems transition planning
» Alpha RetainTrust program

Related links

» HP Integrity servers
» HP Alpha systems
» HP storage
» HP software
» HP products and services
» HP solutions
» HP support
disaster proof
HP Integrity server animation
Content starts here

Ask the Wizard Questions

VMS C programming question

The Question is:


     VMS 'C' Programming Question - IOCTL() - Can anyone help ?

     Unix has an ioctl(channel, request, &value) function which, when used
     with the FIONREAD request argument, allows a C programmer to determine
     if there are any characters on a channel waiting to be read.  Multinet
     socket programming for VMS has an identical routine called
     socket_ioctl().

     Is there a normal (not socket) version of IOCTL() available on the
     VAX, using OpenVMS ?

     Hint:  there is an  header file available, and compilation
     goes fine, but I can't find a library to link to.
     Thanks,


The Answer is:

Use of ioctl() requires OpenVMS V7.0 and DEC C 5.2 (or later).  We apologize
for not making the OpenVMS version requirement clear.


 

** About PDF files: The PDF files on this Web site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software installed on your system, you may download it from the Adobe Web site.
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.