The eventfd Reference Manual

Next: , Previous: , Up: (dir)   [Contents][Index]

The eventfd Reference Manual

This is the eventfd Reference Manual, version 0.3, generated automatically by Declt version 4.0 beta 2 "William Riker" on Wed Jun 15 04:30:08 2022 GMT+0.

Table of Contents


1 Introduction

eventfd() creates an "eventfd object" that can be used as an event wait/notify mechanism by user-space applications, and by the kernel to notify user-space applications of events. The object contains an unsigned 64-bit integer (uint64_t) counter that is maintained by the kernel. This counter is initialized with the value specified in the argument initval.


2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 eventfd

IOLib based eventfd bindings

Maintainer

Ilya Khaprov <ilya.khaprov@publitechs.com>

Author

Ilya Khaprov <ilya.khaprov@publitechs.com>

License

MIT

Version

0.3

Dependencies
  • iolib (system).
  • alexandria (system).
Source

eventfd.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp   [Contents][Index]

3.1.1 eventfd/eventfd.asd

Source

eventfd.asd.

Parent Component

eventfd (system).

ASDF Systems

eventfd.

Packages

eventfd-system.


3.1.2 eventfd/src/package.lisp

Source

eventfd.asd.

Parent Component

eventfd (system).

Packages

eventfd.


3.1.3 eventfd/src/grovel.lisp

Dependency

src/package.lisp (file).

Source

eventfd.asd.

Parent Component

eventfd (system).


3.1.4 eventfd/src/eventfd.lisp

Dependency

src/grovel.lisp (file).

Source

eventfd.asd.

Parent Component

eventfd (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 eventfd-system

Source

eventfd.asd.

Use List
  • asdf/interface.
  • common-lisp.

Previous: , Up: Packages   [Contents][Index]

4.2 eventfd

Source

src/package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Public Interface


5.1.1 Ordinary functions

Function: eventfd.close (fd)
Package

eventfd.

Source

src/eventfd.lisp.

Function: eventfd.new (initval &key cloexec nonblock semaphore)
Package

eventfd.

Source

src/eventfd.lisp.

Function: eventfd.notify (fd val)
Package

eventfd.

Source

src/eventfd.lisp.

Function: eventfd.notify-1 (fd)
Package

eventfd.

Source

src/eventfd.lisp.

Function: eventfd.read (fd)

Returns number of notifications or zero

Package

eventfd.

Source

src/eventfd.lisp.


5.2 Internals


Next: , Previous: , Up: Internals   [Contents][Index]

5.2.1 Constants

Constant: +1-octets+
Package

eventfd.

Source

src/eventfd.lisp.


Previous: , Up: Internals   [Contents][Index]

5.2.2 Ordinary functions

Function: eventfd (initval flags)

Create a file descriptor for event notification

Package

eventfd.

Source

src/eventfd.lisp.

Function: eventfd.notify% (fd bytes)
Package

eventfd.

Source

src/eventfd.lisp.

Function: int64-to-octet (val)
Package

eventfd.

Source

src/eventfd.lisp.

Function: octet-to-uint64 (vec)
Package

eventfd.

Source

src/eventfd.lisp.

Function: to-val (vec size)
Package

eventfd.

Source

src/eventfd.lisp.


Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts


Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   +  
C  
Index Entry  Section

+
+1-octets+: Private constants

C
Constant, +1-octets+: Private constants

Jump to:   +  
C