/* Tries to mmap an invalid fd,
which must either fail silently or terminate the process with
exit code -1. */
#include
#include tests/lib.h
#include tests/main.h
void
test_main (void)
{
CHECK (mmap (0x5678, (void *) 0x10000000) == MAP_FAILED,
try to mmap invalid fd);
}

![[SOLVED] CS /* Tries to mmap an invalid fd,](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] Python program that plays a guess-the-number game with magic lists](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.