moze byt ale voda by mala byt vodou nie zdrojom zeleza, toho mas v potrave dost
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Zobrazi» príspevky Menu#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
int main(int argc, char *argv[])
{
int subor;
int i;
char *buffer[5];
subor = open("pokus.txt", O_RDWR, O_CREAT);
lseek(subor, -1, SEEK_END);
i=read(subor, buffer, 5);
printf("%d",i);
close(subor);
return 0;
}