In the standard library (glibc) I see functions defined with leading double underscores, such as __mmap
in sys/mman.h
. What is the purpose? And how can we still call a function mmap
which doesn't seem to be declared anywhere. I mean we include sys/mman.h
for that, but sys/mman.h
doesn't declare mmap
, it declares only __mmap
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…