Advertisement
Geralt1001

Untitled

Feb 6th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. while(1)
  2.             {
  3.                 for(i=1;i<=wnuki;i++)
  4.                 {
  5.                     memset(bufor,'\0',sizeof(bufor));
  6.                     read(0,bufor,sizeof(bufor));
  7.                     //{
  8.                         printf("pid: %d odczytal : \n%s-----------z potoku czytalem------------- %d iiiii \n", getpid(),bufor,i);
  9.                         memset(bufor,'\0',sizeof(bufor));
  10.                         printf("size of bufor ====== %d \t bufor: %s",sizeof(bufor),bufor);
  11.                     //}
  12.                 }
  13.                 sleep(1);
  14.             }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement