#include <stdio.h> int main () { FILE * file; fpos_t pos; file = fopen ("my.txt", "w"); fgetpos(file, &pos); fputs ("That is a line." ,file); fsetpos (file, &pos); fputs ("This", file); fclose (file); return 0; }