/usr/lib/haskell-packages/ghc/lib/primitive-0.5.0.1/ghc-7.6.3/include/primitive-memops.h is in libghc-primitive-dev 0.5.0.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #ifndef haskell_primitive_memops_h
#define haskell_primitive_memops_h
#include <stdlib.h>
#include <HsFFI.h>
void hsprimitive_memcpy( void *dst, int doff, void *src, int soff, size_t len );
void hsprimitive_memmove( void *dst, int doff, void *src, int soff, size_t len );
void hsprimitive_memset_Word8 (HsWord8 *, int, int, HsWord);
void hsprimitive_memset_Word16 (HsWord16 *, int, int, HsWord);
void hsprimitive_memset_Word32 (HsWord32 *, int, int, HsWord);
void hsprimitive_memset_Word64 (HsWord64 *, int, int, HsWord64);
void hsprimitive_memset_Word (HsWord *, int, int, HsWord);
void hsprimitive_memset_Ptr (HsPtr *, int, int, HsPtr);
void hsprimitive_memset_Float (HsFloat *, int, int, HsFloat);
void hsprimitive_memset_Double (HsDouble *, int, int, HsDouble);
void hsprimitive_memset_Char (HsChar *, int, int, HsChar);
#endif
|