Hmm @rustlang doesn't have pwrite/pread equivalents in the stdlib. Does anyone really do separate file seeks any more?
-
-
Nah the whole point of pwrite/pread is to avoid doing a separate seek (i.e. leave the current offset untouched). This third party lib looks promising https://github.com/vasi/positioned-io … . They are POSIX interfaces btw: http://pubs.opengroup.org/onlinepubs/9699919799/functions/write.html …
-
Ah, I see. The stdlib is mostly concerned about stuff that’s portable across all major OSes; I wonder if Windows has an equivalent?
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.