Re: mmap question - it's in the man page

From: Rik van Riel
Date: Thu Feb 05 2004 - 22:51:31 EST


On Wed, 4 Feb 2004, Bloch, Jack wrote:

> Is there any clear explanation of what the offset parameter in the mmap
> system call means? Please CC me on any response.

The following command will reveal all:

$ man 2 mmap

DESCRIPTION
The mmap function asks to map length bytes starting at
offset offset from the file (or other object) specified by
...

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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