aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Philipp Hafer <jan.hafer@rwth-aachen.de>2023-03-05 18:41:52 +0100
committerAndrew Kelley <andrew@ziglang.org>2023-03-08 13:00:06 -0500
commit06b263825a67e68cec128c640a6287fa1716dc63 (patch)
treef9f3d68397896b22051241785620a2baa08e3f90 /src
parentecc0108cea97772b6e921b36d8fdc8f90d5fc6cb (diff)
downloadzig-06b263825a67e68cec128c640a6287fa1716dc63.tar.gz
zig-06b263825a67e68cec128c640a6287fa1716dc63.zip
std.os: add missing mmap errors
Man page for posix lists EMFILE, man page for linux ENFILE. Also posix says "The mmap() function adds an extra reference to the file associated with the file descriptor fildes which is not removed by a subsequent close() on that file descriptor. This reference is removed when there are no more mappings to the file." It sounds counter-intuitive, that a process limit but no system limit can be exceeeded. As far as I understand, fildes is only used for file descriptor backed mmaps.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions