[Haskell-cafe] Haskell FFI Question

Erik Hesselink hesselink at gmail.com
Fri Sep 19 07:20:21 UTC 2014


Yes, see the documentation for useAsCString [0].

[0] http://hackage.haskell.org/package/bytestring-0.10.4.0/docs/Data-ByteString.html#v:useAsCString

Erik

On Fri, Sep 19, 2014 at 6:32 AM, ye yan <haskell.ye.yan at gmail.com> wrote:
> I have been play around with Haskell FFI. My question is for ByteString
> (Strict) is there a trailing null append to it when pass to it C functions?
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list