Geeks Talk

Prepare for your Next Interview




Is this function portable among all versions

This is a discussion on Is this function portable among all versions within the Unix/Linux forums, part of the Operating Systems category; I heard that the function ioctl() is not compatible or portable with all versions of UNIX. Is this true? If so why is it so?...


Go Back   Geeks Talk > Operating Systems > Unix/Linux

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-29-2006
Contributing Member
 
Join Date: May 2006
Posts: 66
Thanks: 1
Thanked 5 Times in 4 Posts
janelyn is on a distinguished road
Is this function portable among all versions

I heard that the function ioctl() is not compatible or portable with all versions of UNIX. Is this true? If so why is it so?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-29-2006
Contributing Member
 
Join Date: May 2006
Posts: 84
Thanks: 0
Thanked 9 Times in 6 Posts
timmy is on a distinguished road
Re: Is this function portable among all versions

The function ioctl() as you heard is not portable with all versions of UNIX. One of the reasons according to me could be because they perform device specific functions. If I am wrong someone suggest a better reason why is it so?
Reply With Quote
  #3 (permalink)  
Old 07-12-2006
Contributing Member
 
Join Date: May 2006
Posts: 79
Thanks: 0
Thanked 5 Times in 4 Posts
fred is on a distinguished road
Re: Is this function portable among all versions

Yes as suggested by Timmy the function ioctl() is not portable. This is because by its inherent nature of non portability and also as said by Timmy because they perform device specific functions so if this need to be used with any other devise proper change in code in needed.
Reply With Quote
Reply

  Geeks Talk > Operating Systems > Unix/Linux


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Side by Side Execution of multiple versions Beena ASP.NET 2 06-04-2008 09:49 AM
Adding functions to function generator bvani WinRunner 2 12-20-2006 04:56 AM
WebSphere V5.0 : Use search function Lokesh M Web Tools 0 06-02-2006 09:15 AM


All times are GMT -4. The time now is 01:44 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved