zhangmeng
2019-08-26 a0123f163eddcea3e6b9f9d36f1f3fb3aa2c835a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2016 Tom Thorogood. All rights reserved.
// Use of this source code is governed by a
// Modified BSD License license that can be found in
// the LICENSE file.
 
package shm
 
import "errors"
 
var (
    ErrInvalidSharedMemory = errors.New("invalid shared memory")
    ErrNotMultipleOf64     = errors.New("blockSize is not a multiple of 64")
    ErrInvalidBuffer       = errors.New("invalid buffer")
)