Re: sysconf(_SC_PAGESIZE) set to 64k

2006-06-15 Thread Corinna Vinschen
On Jun 15 15:09, Dave Korn wrote: > On 15 June 2006 14:56, Ehren Jarosek wrote: > > > I don't know if this is something I am doing wrong or an issue. > > > > When compiling under cygwin sysconf(_SC_PAGESIZE) returns 65536 (64k) > > memory page size. My understanding is that: > > > > sysconf(_SC

RE: sysconf(_SC_PAGESIZE) set to 64k

2006-06-15 Thread Dave Korn
On 15 June 2006 14:56, Ehren Jarosek wrote: > I don't know if this is something I am doing wrong or an issue. > > When compiling under cygwin sysconf(_SC_PAGESIZE) returns 65536 (64k) > memory page size. My understanding is that: > > sysconf(_SC_PAGESIZE) * sysconf(_SC_PHYS_PAGES) > > should y

sysconf(_SC_PAGESIZE) set to 64k

2006-06-15 Thread Ehren Jarosek
I don't know if this is something I am doing wrong or an issue. When compiling under cygwin sysconf(_SC_PAGESIZE) returns 65536 (64k) memory page size. My understanding is that: sysconf(_SC_PAGESIZE) * sysconf(_SC_PHYS_PAGES) should yield the total physical memory size of the machine. However,