system-uuid-1.0.2: Bindings to system UUID functions.

System.UUID.FromForeign

Description

Utilities for fetching the results from foreign functions. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis

Documentation

runAndRead :: (Ptr CChar -> IO ()) -> IO UUIDSource

Allocate a pointer to capture the output of a foreign function, run the - function and interpret the sixteen bytes following the pointer as a UUID. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -