POSIX compliance issue with mmap(2)
wollman at csail.mit.edu
Thu Jul 29 17:01:04 UTC 2010
<<On Thu, 29 Jul 2010 09:38:59 -0700, Garrett Cooper <yanegomi at gmail.com> said:
> There are a number of opengroup manpages I've seen use the `shall
> fail' tort in the ERRORs sections -- some being connect(2), open(2),
> etc. I'll see if I can get clarification on whether or not there is
> any wiggle room if it states "shall fail if".
"Shall" is a mandatory requirement; if it were optional, it would say
"may" instead. (A conformance test has to include at least one test
for every instance of the word "shall" in the standard.)
If there are other examples of "shall fail" errors that you think
should be "may fail" errors instead, you should bring them up on the
Austin Group mailing-list.
More information about the freebsd-standards