You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 3790 Reporter: administrator Assigned to:@xavierleroy Status: closed (set by @xavierleroy on 2007-02-21T15:19:15Z) Resolution: fixed Priority: normal Severity: feature Version: 3.10+dev Category: ~DO NOT USE (was: OCaml general) Parent of:#3791#4024
Bug description
Full_Name: Christoph Bauer
Version: 3.08.3
OS:
Submission from: 213.68.136.226 (213.68.136.226)
Hi,
a possibility to set the offset in a bigarray-mmap file
would be very useful. Either bigarray_map_file should
get 6 parameters or the currpos value from the file
descriptor could be used. The main drawback for my
wish is, that it may breaks existing ocaml programs.
Furthermore a wrapper for getpagesize() is needed
to calculate a valid offset.
Thanks,
Christoph Bauer
The text was updated successfully, but these errors were encountered:
Feature implemented in 3.10 as an optional argument to the map_file functions. The argument gives the file offset for the beginning of the file data.
Arbitrary offsets (not necessarily page-aligned) are supported.
Original bug ID: 3790
Reporter: administrator
Assigned to: @xavierleroy
Status: closed (set by @xavierleroy on 2007-02-21T15:19:15Z)
Resolution: fixed
Priority: normal
Severity: feature
Version: 3.10+dev
Category: ~DO NOT USE (was: OCaml general)
Parent of: #3791 #4024
Bug description
Full_Name: Christoph Bauer
Version: 3.08.3
OS:
Submission from: 213.68.136.226 (213.68.136.226)
Hi,
a possibility to set the offset in a bigarray-mmap file
would be very useful. Either bigarray_map_file should
get 6 parameters or the currpos value from the file
descriptor could be used. The main drawback for my
wish is, that it may breaks existing ocaml programs.
Furthermore a wrapper for getpagesize() is needed
to calculate a valid offset.
Thanks,
Christoph Bauer
The text was updated successfully, but these errors were encountered: