Posts by mariaiffonseca • 1 point
1 post
-
0
votes1
answer89
viewsQ: Invalid argument in mmap
I want to write to the "server.log" file and when I compile the code, the result is "Invalid argument" in the "mmap" function". void MMP(){ char* addr; int fd; struct stat sb; fd =…