Thread: dup question - file io

  1. #16
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    Quote Originally Posted by oogabooga View Post
    And I agree that it's likely not worth doing, but at least he learned something about fork, exec and wait!
    I never bothered learning about stuff like this. My main focus was always network programming. Its the main reason i started coding in the first place. I had no need for fork, or wait. This is why this is a good exercise, i will learn a lot! When i think about it though, its going to be a huge pain in the ...! Which will most likely end in me getting bored of the project and abandoning.

    I will tell you though, that i feel really dumb for using ">" with the execl call while using dup haha Probably the only reason it worked.
    Last edited by Annonymous; 09-17-2012 at 11:27 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ File Question
    By iGuardian in forum C++ Programming
    Replies: 4
    Last Post: 10-27-2011, 12:59 PM
  2. Question about file IO
    By Raigne in forum C++ Programming
    Replies: 14
    Last Post: 05-15-2011, 06:30 PM
  3. FILE* question
    By keira in forum C Programming
    Replies: 22
    Last Post: 12-02-2007, 03:51 AM
  4. Newbish Question file reading question....
    By kas2002 in forum C Programming
    Replies: 23
    Last Post: 05-17-2007, 12:06 PM
  5. File question-Testing if file exists
    By fuh in forum C++ Programming
    Replies: 2
    Last Post: 01-28-2003, 07:11 PM

Tags for this Thread