ref: a351bcdccdf5a4273bc8dc3360a48fbb8b8aa9ea dir: /src/seekhello.c/
#include <u.h> #include <libc.h> void main(int , char* []) { int fd; fd = open("afile", OWRITE); seek(fd, 32, 0); write(fd, "there\n", 6); close(fd); exits(nil); }