Random access

rewind(FP)

sets the position back to 0

ftell(FP)

gives the current position

fseek(FP, offset, init_position)

offset can be both positive and negative,

position,

init_position
value

0

Beginning

1

Current position

2

End

Last updated

Was this helpful?