Advertisement
Guest User

Untitled

a guest
May 6th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. void* producer(void* param)
  2. {
  3. FILE* filep = *(FILE*)param;
  4.  
  5. char line[256];
  6.  
  7. while (fgets(line, 256, filep) != NULL)
  8. {
  9. processLine(line);
  10. }
  11.  
  12. return NULL;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement