ref: 87288afa5ac476efb3ef1ed40df658427339f13e 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); }