Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. char buff[512] = '';
  2. int fileHandle = open( scEndOfLinePPSPath , O_RDONLY );
  3.  
  4. if(-1 != fileHandle)
  5. {
  6. while( 0 < read(fileHandle, &buff, sizeof(buff) - 1) )
  7. {
  8. parse(&buff); /* doesn't play nice with dynamically allocated memory */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement