Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ed7d2d

Browse files
committed
Added mmap module -- map a view of a file into memory on Win32 and Unix.
(Needs testing on Win32.)
1 parent e0dd301 commit 1ed7d2d

2 files changed

Lines changed: 849 additions & 1 deletion

File tree

Modules/Setup.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
150150
pwd pwdmodule.c # pwd(3)
151151
grp grpmodule.c # grp(3)
152152
errno errnomodule.c # posix (UNIX) errno values
153+
mmap mmapmodule.c # Memory-mapped files (also works on Win32)
153154
select selectmodule.c # select(2); not on ancient System V
154155
socket socketmodule.c # socket(2); not on ancient System V
155156
#_socket socketmodule.c # socket(2); use this one for BeOS sockets
@@ -418,6 +419,5 @@ cPickle cPickle.c
418419
# See http://www.cdrom.com/pub/infozip/zlib/
419420
#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
420421

421-
422422
# Example -- included for reference only:
423423
# xx xxmodule.c

0 commit comments

Comments
 (0)