Forwarding GScanner's buffer position

I forward the file-descriptor associated with a GScanner. Now, I want  
to forward the GScanner's buffer position to the current position of  
the file-descriptor. How do I do it?  
The documentation for GScanner at  
says that g_scanner_sync_file_offset:   
Rewinds the filedescriptor to the current buffer position and blows  
the file read ahead buffer. This is useful for third party uses of the  
scanners filedescriptor, which hooks onto the current scanning  

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]