Ivan Petrov thinks this is interesting: Standard I/O also provides rewind( ), as a shortcut:#include <stdio.h> void rewind (FILE *stream);This invocation:rewind (stream);resets the position back to the start of the stream. It is equivalent to: From Linux System Programming from Linux System Programming by Robert Love Publisher: O'Reilly Media, Inc. Released: September 2007 Note shortcut for going back to beginning Share this highlight http://www.safaribooksonline.com/a/linux-system-programming/19747901/ Twitter Facebook Google Plus Email Get Instant Access Now Start a Free Trial Have an account? Sign in. Minimise Unlock the rest of Linux System Programming and 30,000 other books and videos By clicking this box, you confirm that you have read and agree to the terms and conditions of our Membership Agreement, and you understand that when your trial period ends, you will be required to provide billing information if you wish to continue using the service. Unlock the rest of this book Start a Free 10-Day Trial loading Learn about Safari for Business Have an account? Sign in.