I find the function name a bit strange. So strange in fact it made me look at the mmap(2) man page to check that it wasn't taking a char* rather than an int for the file since I was sure it took and fd. Since mmap(2) already takes an fd.
The mmap(2) versus mmapfd(2) makes me think of fopen(3C) versus fdopen(3C). As for a better name it looks to me more like mmapv(2), eg like read(2) versus readv(2). -- Darren J Moffat
