What data type are stdout and stdin?

This is a discussion on What data type are stdout and stdin? within the C Programming forums, part of the General Programming Boards category; Are stdout and stdin, char or int?...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    1

    What data type are stdout and stdin?

    Are stdout and stdin, char or int?

  2. #2
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    523
    >> char or int?
    Neither, they are pointers to type FILE
    All spelling mistakes, syntatical errors and stupid comments are intentional.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 07-12-2008, 12:00 PM
  2. Redirecting STDOUT to STDIN of a child process
    By 0xception in forum Linux Programming
    Replies: 4
    Last Post: 09-13-2005, 11:58 PM
  3. Problems with switch()
    By duvernais28 in forum C Programming
    Replies: 13
    Last Post: 01-28-2005, 09:42 AM
  4. stdin --> random interference --> stdout
    By j0hnb1ank in forum C Programming
    Replies: 3
    Last Post: 01-22-2003, 10:43 AM
  5. STDIN stdout
    By GreyMattr in forum Linux Programming
    Replies: 2
    Last Post: 08-01-2002, 01:29 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21