Whamcloud - gitweb
LU-16284 utils: lfs getstripe follows symlink
[fs/lustre-release.git] / lustre / doc / llapi_changelog_get_fd.3
1 .TH llapi_changelog_get_fd 3 "2022-11-08" "" "Lustre User API"
2 .SH NAME
3 llapi_changelog_get_fd \- Return the file descriptor of the changelog device
4 .SH SYNOPSIS
5 .nf
6 .B #include <lustre/lustreapi.h>
7 .PP
8 .BI "int llapi_changelog_get_fd(void *" priv ");"
9 .fi
10 .SH DESCRIPTION
11 .PP
12 The function
13 .B llapi_changelog_get_fd()
14 return the file descriptor of changelog char device for the instance
15 .IR priv .
16 .PP
17 This can be used to call
18 .B poll()
19 on the file descriptor to get events on the
20 changelog device.
21 .SH RETURN VALUES
22 .PP
23 Return the file descriptor on success or a negative errno value on failure.
24 .SH ERRORS
25 .TP 15
26 .SM -EINVAL
27 .I priv
28 argument is invalid.
29 .SH "SEE ALSO"
30 .BR poll (2),
31 .BR llapi_changelog_clear (3)
32 .BR llapi_changelog_in_buf (3),
33 .BR llapi_changelog_recv (3),
34 .BR llapi_changelog_start (3),
35 .BR lustreapi (7)