Re: syscall __NR_mmap2

Kurt Wall (kwall@kurtwerks.com)
Tue, 8 Jul 2003 10:51:43 -0400


Quoth Richard B. Johnson:

[...]

> Yeah? So the Linux kernel now requires a specific vendor distribution?
> Since when?

I don't think this vendor specific. The mmap2() man page I have comes
from the man pages package maintained by Andries Brouwer (release 1.56).
The LSM file says you can get them at
ftp://ftp.win.tue.nl/pub/linux-local/manpages

> So, to get the proper documentation of the Linux Kernel, I now
> need to purchase a vendor's distribution??? I think not. I think

No.

> the sys-calls need to be documented and I think that I have established
> proof of that supposition.
>
> Script started on Tue Jul 8 10:35:05 2003
> # man mmap2
> No manual entry for mmap2
> # mmap
> # man map
>
> MMAP(2) Linux Programmer's Manual MMAP(2)
>
> NAME
> mmap, munmap - map or unmap files or devices into memory
>
> SYNOPSIS
> #include <sys/types.h>
> #include <sys/mman.h>
>
> caddr_t mmap(caddr_t addr, size_t len, int prot , int
> flags, int fd, off_t offset );
> int munmap(caddr_t addr, size_t len);
>
> DESCRIPTION
> WARNING: This is a BSD man page. Linux 0.99.11 can't map
> files, and can't do other things documented here.

I'd say your man pages are woefully out of date.

Kurt

-- 
Do infants have as much fun in infancy as adults do in adultery?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/