( kmx.io )

CFFI-POSIX

An attempt to regularly and portably expose the POSIX API to Common Lisp programs using CFFI.

The wrappers a thin wrappers, all C functions with C error semantics are available through C- prefixed function names. The functions without C- prefix implement Common Lisp error semantics, often relying on cffi-errno.

1 POSIX headers

Each POSIX header gets a package nicknamed without CFFI- prefix.

1.1 cffi-dirent

Wrapper for POSIX header dirent.h.

https://github.com/cffi-posix/cffi-dirent

1.2 cffi-errno

Wrapper for POSIX header errno.h.

https://github.com/cffi-posix/cffi-errno

1.3 cffi-fcntl

Wrapper for POSIX header fcntl.h.

https://github.com/cffi-posix/cffi-fcntl

1.4 cffi-stat

Wrapper for POSIX header sys/stat.h.

https://github.com/cffi-posix/cffi-stat

1.5 cffi-unistd

Wrapper for POSIX header unistd.h.

https://github.com/cffi-posix/cffi-unistd

2 Berkeley sockets

2.1 cffi-socket

Wrapper for Berkeley sockets sys/socket.h

https://github.com/cffi-posix/cffi-socket

3 Linux extensions

3.1 cffi-epoll

Wrapper for Linux EPOLL sys/epoll.h

https://github.com/cffi-posix/cffi-epoll


© 2018 kmx.io