Entire mkstemp source algorithm. Random choice uses actual machine RNG; exclusive host creation and open flags are explicit typed effects.
@[reducible, inline]
Instances For
- unix : HostOptions
read+write+create_new, mode0600 and host O_EXCL.
- windows : HostOptions
read+write+create_new, share_mode(0).
Instances For
- paths : UnixFsPaths.Hooks S F D Path HM Time E Kind
Actual uniform IndexedRandom.choose index from canonical machine RNG.
- openExclusive : Path → HostOptions → M S (Except (IoError.HostError E) H)
- attemptBudget : Nat
Explicit runner bound, independent of compiler TMP_MAX.
Instances For
def
Miri.Interpreter.UnixTempFile.mkstemp
{S F D P HM T E K H : Type}
(h : Hooks S F D P HM T E K H)
(template : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.