File indexing completed on 2024-04-28 15:53:57

0001 # AUTO-GENERATED FILE -- DO NOT EDIT
0002 
0003 
0004 ACCESS_COPY = 3
0005 ACCESS_READ = 1
0006 ACCESS_WRITE = 2
0007 ALLOCATIONGRANULARITY = 4096
0008 MAP_ANON = 32
0009 MAP_ANONYMOUS = 32
0010 MAP_DENYWRITE = 2048
0011 MAP_EXECUTABLE = 4096
0012 MAP_PRIVATE = 2
0013 MAP_SHARED = 1
0014 PAGESIZE = 4096
0015 PROT_EXEC = 4
0016 PROT_READ = 1
0017 PROT_WRITE = 2
0018 __package__ = None
0019 
0020 class error(EnvironmentError):
0021 
0022   pass
0023 
0024 class mmap(object):
0025   """ Windows: mmap(fileno, length[, tagname[, access[, offset]]])
0026   
0027   Maps length bytes from the file specified by the file handle fileno,
0028   and returns a mmap object.  If length is larger than the current size
0029   of the file, the file is extended to contain length bytes.  If length
0030   is 0, the maximum length of the map is the current size of the file,
0031   except that if the file is empty Windows raises an exception (you cannot
0032   create an empty mapping on Windows).
0033   
0034   Unix: mmap(fileno, length[, flags[, prot[, access[, offset]]]])
0035   
0036   Maps length bytes from the file specified by the file descriptor fileno,
0037   and returns a mmap object.  If length is 0, the maximum length of the map
0038   will be the current size of the file when mmap is called.
0039   flags specifies the nature of the mapping. MAP_PRIVATE creates a
0040   private copy-on-write mapping, so changes to the contents of the mmap
0041   object will be private to this process, and MAP_SHARED creates a mapping
0042   that's shared with all other processes mapping the same areas of the file.
0043   The default value is MAP_SHARED.
0044   
0045   To map anonymous memory, pass -1 as the fileno (both versions). """
0046 
0047   def close(self):
0048     pass
0049 
0050   def find(self):
0051     pass
0052 
0053   def flush(self):
0054     pass
0055 
0056   def move(self):
0057     pass
0058 
0059   def read(self):
0060     pass
0061 
0062   def read_byte(self):
0063     pass
0064 
0065   def readline(self):
0066     pass
0067 
0068   def resize(self):
0069     pass
0070 
0071   def rfind(self):
0072     pass
0073 
0074   def seek(self):
0075     pass
0076 
0077   def size(self):
0078     pass
0079 
0080   def tell(self):
0081     pass
0082 
0083   def write(self):
0084     pass
0085 
0086   def write_byte(self):
0087     pass
0088