system-uuid-1.3.1: 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

Allocates a pointer to capture the output of a foreign function, runs the function and interprets the sixteen bytes following the pointer as a UUID.