* munmap return value
@ 2002-01-01 17:35 Udo A. Steinberg
0 siblings, 0 replies; only message in thread
From: Udo A. Steinberg @ 2002-01-01 17:35 UTC (permalink / raw)
To: Linux Kernel
Hi all,
My manpage for munmap(2) says:
On success, munmap returns 0, on failure -1, and errno is set (probably to EINVAL).
In reality munmap always returns 0, except for when the address is
not page-aligned (-EINVAL) or if allocation of kernel structures
fails (-ENOMEM).
Shouldn't munmap return -EINVAL also if there is nothing mapped
at the specified address?
Regards,
Udo.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-01 17:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-01 17:35 munmap return value Udo A. Steinberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.