system-uuid-1.2.0: Bindings to system UUID functions.Source codeContentsIndex
System.UUID.FromForeign
Description
Utilities for fetching the results from foreign functions.
Synopsis
runAndRead :: (Ptr CChar -> IO ()) -> IO UUID
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.
Produced by Haddock version 2.6.1