Search:

Type: Posts; User: Empair

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    4,960

    I don't care about a specific count. And in this...

    I don't care about a specific count. And in this case i think i have 8+1 process.
  2. Replies
    4
    Views
    4,960

    Semaphors Understanding/Semafor with fork()

    Hi, I need to help with semafor implementation understanding. I meant I understood the logic of it based on available sources, but during implementation I am not able to get the desire outcome.
    ...
  3. Replies
    7
    Views
    9,471

    strange my be i upload one of my attempts...

    strange

    my be i upload one of my attempts
    sorry

    try this


    #include <stdio.h>
    #include <stdlib.h>
  4. Replies
    7
    Views
    9,471

    ok I expressed myself wrong i am using prinf in...

    ok I expressed myself wrong
    i am using prinf in handler only for debug ...

    So my questing is: How a get i PID of process witch calling a Handler?
  5. Replies
    7
    Views
    9,471

    Handler - get PID of child process

    #include <stdio.h>#include <stdlib.h>
    #include <unistd.h>
    #include <signal.h>
    #include <string.h>
    #include <errno.h>
    #include <fcntl.h>
    #include <sys/wait.h>


    int const pipeCount = 1;
  6. Replies
    1
    Views
    3,366

    My mistake ... i found trouble ... in placeing...

    My mistake ... i found trouble ... in placeing return to wrong process ...

    this is correct ...


    #include <stdio.h>#include <stdlib.h>
    #include <unistd.h>
    #include <signal.h>
    #include...
  7. Replies
    1
    Views
    3,366

    Fork() ... chuild still exist ..

    Hi

    i need to create 5 children ... and each must have open one end of five pipes ...

    so i create a this ...


    #include <stdio.h>#include <stdlib.h>
    #include <unistd.h>
    #include...
  8. Replies
    2
    Views
    2,052

    Signal understanding

    Hi

    i need explanation ... how it is possible this:


    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <signal.h>
    #include <string.h>
  9. Replies
    5
    Views
    4,667

    OK, I'm sorry I don't know the local customs ... ...

    OK, I'm sorry I don't know the local customs ...

    Thank you for the explanation and advice.
  10. Replies
    5
    Views
    4,667

    So .... with your solotion a create a simpli code...

    So .... with your solotion a create a simpli code for testing Pipes ...


    Transfer data between two programs ...


    It is Works!


    But ... with void functions instead of a function with a...
  11. Replies
    5
    Views
    4,667

    @Salem: Works ... thx

    @Salem: Works ... thx
  12. Replies
    5
    Views
    4,667

    String fill by function

    Hi, i am stack for hours on basic staff so I decided to ask for help.

    I need to fill variable buffer2 from funkcion GetBackString ... and buffer2 it need to be a array.


    char GetBackString(){...
Results 1 to 12 of 13