示例#1
0
 public static extern PalFlags.FailCodes rvn_create_and_mmap64_file(
     string filename,
     Int64 initialFileSize,
     PalFlags.MmapOptions flags,
     out SafeMmapHandle handle,
     out void *baseAddress,
     out Int64 actualFileSize,
     out Int32 errorCode);
示例#2
0
 public static PalFlags.FailCodes rvn_create_and_mmap64_file(
     string filename,
     Int64 initialFileSize,
     PalFlags.MmapOptions flags,
     out SafeMmapHandle handle,
     out void *baseAddress,
     out Int64 actualFileSize,
     out Int32 errorCode)
 {
     using (var convert = new Converter(filename))
     {
         return(rvn_create_and_mmap64_file(convert.Pointer,
                                           initialFileSize,
                                           flags,
                                           out handle,
                                           out baseAddress,
                                           out actualFileSize,
                                           out errorCode));
     }
 }
示例#3
0
 public static extern PalFlags.FailCodes rvn_allocate_more_space(
     Int64 newLengthAfterAdjustment,
     SafeMmapHandle handle,
     out void *newAddress,
     out Int32 errorCode);