That could be added, but these are really meant as text files, so seek isn't that much use in this case. Either way you couldn't seek and then write (it'd be for reading only).
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I seemed to recall that's what C does, which is why I kept it: https://linux.die.net/man/3/getline
That could be added, but these are really meant as text files, so seek isn't that much use in this case. Either way you couldn't
seek
and then write (it'd be for reading only).