HTML Server Web Pin Control

If the lines were fixed-length you could use lseek() to set the file pointer to a computed length and write a fixed-length record there.

Real program lines haven't been fixed-length since the Hollerith days, so the practical answer is "not really", since you don't know how long the line you are overwriting is.

-br