#include
#include
#include
int main(void)
{
int fd;
char c;
fd = open(file_101.c, O_RDONLY);
read(fd, &c, 1);
printf(%c
, c);
read(fd, &c, 1);
printf(%c
, c);
lseek(fd, -2, SEEK_END);
read(fd, &c, 1);
printf(%c
, c);
close(fd);
return 0;
}
#include
#include
#include
int main(void)
{
int fd;
char c;
fd = open(file_101.c, O_RDONLY);
read(fd, &c, 1);
printf(%c
, c);
read(fd, &c, 1);
printf(%c
, c);
lseek(fd, -2, SEEK_END);
read(fd, &c, 1);
printf(%c
, c);
close(fd);
return 0;
}
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.