limb 0.2.0

2024-01-09

buffer_fd(3)
limb manual
buffer_fd(3)

NAME

buffer_fd, buffer_getfd - file descriptor associated with an I/O buffer

SYNOPSIS

#include <limb/buffer.h>
int buffer_fd(buffer *buf)
int buffer_getfd(buffer *buf)

DESCRIPTION

The buffer_fd() macro returns the file descriptor associated with the buffer pointed by buf.

The buffer_getfd() function is similar, but a function.

RETURN VALUE

The buffer_fd() and buffer_getfd() functions return the file descriptor associated with the buffer pointed by buf.

limb 0.1.0
2023-07-24
buffer_fd(3)