Re: problem with swap.h

Stephen C. Tweedie (sct@redhat.com)
Tue, 29 Sep 1998 10:15:45 +0100


Hi,

On Mon, 28 Sep 1998 11:23:25 +0100, mummert&partner_meskesm@WestLB.de
said:

> It seems to me that there is a problem with swap.h in the latest
> development source trees. My watchdog source includes it (via sys/swap.h)
> and then moans about the missing definition of PAGE_SIZE. Shouldn't swap.h
> include this?

No, the library gives you a function getpagesize() which is the
portable way to access this information.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/