Search:

Type: Posts; User: s3t3c

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    9,507

    Quzah, Was that really necessary? First...

    Quzah,

    Was that really necessary?

    First off, I spent a lot of time reading before coming here. Second, no I don't think I need to spend hours reading all the anouncements etc.. on every forum...
  2. Replies
    10
    Views
    9,507

    After doing a little debugging I've figured out...

    After doing a little debugging I've figured out what is going on. Thought I should post solution so this post is complete.

    The first fork() creates a child process. Immediately following the...
  3. Replies
    10
    Views
    9,507

    I'm determined to get this, lol. Okay,...

    I'm determined to get this, lol.

    Okay, referencing the first fork, 'if (fork() != 0)' was true because it was the original parent process and fork() > 0 which made the 'if (fork() != 0)' true,...
  4. Replies
    10
    Views
    9,507

    Thank you very much for your reply. I was...

    Thank you very much for your reply.

    I was experimenting with this program printing pid's at different stages of the code. Let's say the executable is called rtool.

    line 26 - pid = 1000 < -...
  5. Replies
    10
    Views
    9,507

    fork(), exit() - few questions!

    Hello everyone,

    I am trying to fully understand the program below. I virtually understand all of it but I have a few questions relating to the use of fork(), exit() and !strncmp.

    I'm going to...
Results 1 to 5 of 5