Re: mmap text file

2015-03-31 Thread Valdis . Kletnieks
On Tue, 31 Mar 2015 17:11:33 +0530, Ssagarr Patil said: > Hi, > while (loop) { >         /* get the current file size of output file */ >         filesize = lseek(outfd, 0, SEEK_END); > >         /* Increase file size */ >         ftruncate(outfd, (off_t)filesize + (off_t)buf.size Are you sure y

Re: The Eudyptula Challenge - Sending task

2015-03-31 Thread Sudip Mukherjee
> > You need to put your ID in the subject, and the email must be the one > that you registered. no, the email can be any email, i have always sent from a different email address. only your ID in the subject will matter. Quoting from little's welcome mail: regards sudip >

Re: The Eudyptula Challenge - Sending task

2015-03-31 Thread Lucas Tanure
On Tue, Mar 31, 2015 at 8:48 AM, Leonardo Ariel Carreras Rodríguez wrote: > Hello everyone, > I am trying to send Task 1. I already verified that my files do what > they are supposed to. > I am using mutt to send emails, so I have some questions. > 1. Because gmail gives an advice about not using

Re: The Eudyptula Challenge - Sending task

2015-03-31 Thread Giedrius Statkevičius
On 2015.03.31 14:48, Leonardo Ariel Carreras Rodríguez wrote: > Hello everyone, > I am trying to send Task 1. I already verified that my files do what > they are supposed to. > I am using mutt to send emails, so I have some questions. > 1. Because gmail gives an advice about not using less secure a

The Eudyptula Challenge - Sending task

2015-03-31 Thread Leonardo Ariel Carreras Rodríguez
Hello everyone, I am trying to send Task 1. I already verified that my files do what they are supposed to. I am using mutt to send emails, so I have some questions. 1. Because gmail gives an advice about not using less secure apps, I am using another email address. Does Little care about the email

mmap text file

2015-03-31 Thread Ssagarr Patil
Hi, I am trying to achieve faster file writes using mmap. so I am trying the follwowing: /* open file */ while (loop) {         /* get the current file size of output file */         filesize = lseek(outfd, 0, SEEK_END);         /* Increase file size */         ftruncate(outfd, (off_t)filesiz