Re: code question

2011-08-10 Thread Mike Belopuhov
On Wed, Aug 10, 2011 at 17:39 +0200, Peter J. Philipp wrote: > Hi, > > I'm reading through lib/libc/gen/getpwent.c and I found this right at the > end of the file: > > --- > /* See if there's any data left. If so, read in flags. */ > if (data.size > (p - (char *)data.data)) { >

code question

2011-08-10 Thread Peter J. Philipp
Hi, I'm reading through lib/libc/gen/getpwent.c and I found this right at the end of the file: --- /* See if there's any data left. If so, read in flags. */ if (data.size > (p - (char *)data.data)) { bcopy(p, (char *)flagsp, sizeof(int)); p += size