lseek is used to move offset of where current fd(file dscirptor) is pointing to in system-wide-file-table. #include #include #include #include extern int errno; int main(){ int rv = lseek(0, 54, SEEK_SET); if (rv == -1){ printf("Cannot seek\n"); exit(errno); } else printf("seek OK\n"); return 0; } we are trying handle fd0 which is stdin a keyboard. we cannot lseek the keyboard so it will throw o..