1io_uring_prep_getxattr(3)       liburing Manual      io_uring_prep_getxattr(3)
2
3
4

NAME

6       io_uring_prep_getxattr,  io_uring_prep_fgetxattr - prepare a request to
7       get an extended attribute value
8

SYNOPSIS

10       #include <liburing.h>
11
12       void io_uring_prep_getxattr(struct io_uring_sqe *sqe,
13                                   const char *name,
14                                   char *value,
15                                   const char *path,
16                                   unsigned int len);
17
18       void io_uring_prep_fgetxattr(struct io_uring_sqe *sqe,
19                                    int fd,
20                                    const char *name,
21                                    char *value,
22                                    unsigned int len);
23

DESCRIPTION

25       The io_uring_prep_getxattr(3) function prepares a request to get an ex‐
26       tended  attribute value. The submission queue entry sqe is setup to get
27       the value of the extended attribute identified by name  and  associated
28       with  the given path in the filesystem.  The len argument specifies the
29       size (in bytes) of value.
30
31       io_uring_prep_fgetxattr(3) is identical  to  io_uring_prep_getxattr(3),
32       only the open file referred to by fd is interrogated in place of path.
33
34       This  function prepares an async getxattr(2) request. See that man page
35       for details.
36
37

RETURN VALUE

39       None
40
41

SEE ALSO

43       io_uring_get_sqe(3), getxattr(2)
44
45
46
47liburing-2.4                   January 23, 2023      io_uring_prep_getxattr(3)
Impressum