Compiles, untested
seek() takes a pointer?
remove trailing whitespace
remove trailing whitespace
unnecessary