ftok

package
v0.0.0-...-3441017 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package ftok provides a way to generate a System V IPC key, suitable for using with msgget, semget, or shmget.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ftok

func Ftok(pathname string, projectid uint8) (int, error)

Ftok uses the given pathname (which must refer to an existing, accessible file) and the least significant 8 bits of proj_id (which must be nonzero) to generate a key_t type System V IPC key.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL