On Mon, 22 Mar 2004, Linux User wrote:
Now when i copy...i.e when i try to read from this downloaded file
n = read(fd,buff,sizeof(buff)); n is always 1
where is buff declared? what is it declared as?
do you have code like this:
char buff[1024];
foo(buff);
void foo(char *buff) { n=read(fd, buff, sizeof(buff)); }
Philip