Opened 9 years ago

#351 new defect

Hide mmap() declaration in stdio.h

Reported by: KO Myung-Hun Owned by:
Priority: normal Milestone: new
Component: libc Version: 0.6.6
Severity: normal Keywords:
Cc:

Description

Hi/2.

mmap() is declared in stdio.h for some reason. However it seems not to be right. In addition, declaration of mmap() is disabled by #if 0...#endif in sys/types.h.

So, it's reasonable to do this for stdio.h, too. In fact, some projects which defines its own mmap() when system mmap() was broken, fail to compile.

Change History (0)

Note: See TracTickets for help on using tickets.