centos man page for kfifo_init

Query: kfifo_init

OS: centos

Section: 9

Links: centos man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KFIFO_INIT(9)							    FIFO Buffer 						     KFIFO_INIT(9)

NAME
kfifo_init - initialize a fifo using a preallocated buffer
SYNOPSIS
kfifo_init(fifo, buffer, size);
ARGUMENTS
fifo the fifo to assign the buffer buffer the preallocated buffer to be used size the size of the internal buffer, this have to be a power of 2
DESCRIPTION
This macro initialize a fifo using a preallocated buffer. The numer of elements will be rounded-up to a power of 2. Return 0 if no error, otherwise an error code.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KFIFO_INIT(9)
Related Man Pages
fifo(3tcl) - sunos
fifo(3tcl) - opendarwin
fifo(3tcl) - v7
fifo(3tcl) - plan9
fifo(3tcl) - opensolaris
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Tar Command
Unsure why access time on a directory change isn't changing
Please Welcome Dave Munro to the Moderator Team!