File: mmap_wasm.go

package info (click to toggle)
golang-github-edsrzf-mmap-go 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116 kB
  • sloc: makefile: 2
file content (27 lines) | stat: -rw-r--r-- 523 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2024 Evan Shaw. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package mmap

import "syscall"

func mmap(len int, inprot, inflags, fd uintptr, off int64) ([]byte, error) {
	return nil, syscall.ENOTSUP
}

func (m MMap) flush() error {
	return syscall.ENOTSUP
}

func (m MMap) lock() error {
	return syscall.ENOTSUP
}

func (m MMap) unlock() error {
	return syscall.ENOTSUP
}

func (m MMap) unmap() error {
	return syscall.ENOTSUP
}