Thread: ANSI C function for inp(), outp(), inp(), inpw()

  1. #1
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Posts
    531

    ANSI C function for inp(), outp(), inp(), inpw()

    Any alternative ANSI C function for inp(), outp(), inp(), inpw() ?
    [ Never code before desk work ]
    -------------------------------------:-->
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

  2. #2
    Im back! shaik786's Avatar
    Join Date
    Jun 2002
    Location
    Bangalore, India
    Posts
    345
    No, none. That's because each OS has it's own style of communicating to devices. For instance, OS's like DOS allow you to talk to other ports straihgt with the use of interrupts and DOS functions, while OS's like UNIX need you to talk to these posrts through files, which inturn represent the port. Thus, read(), write() might just work in UNIX and may not at all work in DOS.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. doubt in c parser coding
    By akshara.sinha in forum C Programming
    Replies: 4
    Last Post: 12-23-2007, 01:49 PM
  3. <Gulp>
    By kryptkat in forum Windows Programming
    Replies: 7
    Last Post: 01-14-2006, 01:03 PM
  4. qt help
    By Unregistered in forum Linux Programming
    Replies: 1
    Last Post: 04-20-2002, 09:51 AM
  5. inp function in C
    By William in forum C Programming
    Replies: 1
    Last Post: 04-05-2002, 09:47 AM