Results 1 to 3 of 3

Thread: Is this function portable among all versions

  1. #1
    Contributing Member
    Join Date
    May 2006
    Answers
    64

    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?


  2. #2
    Contributing Member
    Join Date
    May 2006
    Answers
    82

    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?


  3. #3
    Contributing Member
    Join Date
    May 2006
    Answers
    71

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact