Changing offset from child processes
问题 Let say that I have a parent process, and then create some number of child processes in order to read from the same file. when each process read from the file descriptor, is the offset been changed between all his sibling's processes? and so, is it possible that each process will read a unique line, or that without synchronized the app , each process will read the same lines like his siblings? id = fork(); if (id < 0) exit(EXIT_FAILURE); if (pipe(fd) == -1) exit(EXIT_FAILURE); switch (id) {