| LLAPI_CHANGELOG_GET_FD(3) | User | LLAPI_CHANGELOG_GET_FD(3) |
NAME
llapi_changelog_get_fd - Return the file descriptor of the changelog device
SYNOPSIS
#include <lustre/lustreapi.h>
int llapi_changelog_get_fd(void *priv);
DESCRIPTION
The function llapi_changelog_get_fd() returns the file descriptor of changelog char device for the instance priv.
This can be used to call poll() on the file descriptor to get events on the changelog device.
RETURN VALUES
Return the file descriptor on success or a negative errno value on failure.
ERRORS
- -EINVAL
- priv argument is invalid.
AVAILABILITY
llapi_changelog_get_fd is part of the lustre(7) user application interface library since release 2.4.0
SEE ALSO
poll(2), llapi_changelog_clear(3), llapi_changelog_in_buf(3), llapi_changelog_recv(3), llapi_changelog_start(3), llapi_changelog_start_user(3), lustreapi(7)
| 2024-08-22 | Lustre |