File: hs_bytestring_mmap.h

package info (click to toggle)
haskell-bytestring-mmap 0.2.2-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 116 kB
  • sloc: haskell: 230; ansic: 11; sh: 7; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * hs_bytestring_mmap.h
 *
 * License   : BSD3
 *
 * Copyright (C) 2003   David Roundy
 *               2005-7 Don Stewart
 *
 * Maintainer: Don Stewart <dons@galois.com>
 */

#include <sys/types.h>
#include <sys/mman.h>

unsigned char *hs_bytestring_mmap(size_t len, int fd);