3.8.25 get.с

We use cookies. Read the Privacy and Cookie Policy

3.8.25 get.с

get(fd, pos, buf, n) /* read n bytes from position pos */

 int fd, n;

 long pos;

 char *buf;

{

 if (lseek(fd, pos, 0) == -1) /* get to pos */

  return -1;

 return read(fd, buf, n);

}

Данный текст является ознакомительным фрагментом.