Back to index

glibc  2.9
Defines | Enumerations | Functions
xattr.h File Reference
#include <features.h>
#include <sys/types.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define XATTR_CREATE   XATTR_CREATE
#define XATTR_REPLACE   XATTR_REPLACE

Enumerations

enum  { XATTR_CREATE = 1, XATTR_CREATE = 1, XATTR_REPLACE }

Functions

int setxattr (__const char *__path, __const char *__name, __const void *__value, size_t __size, int __flags) __THROW
int lsetxattr (__const char *__path, __const char *__name, __const void *__value, size_t __size, int __flags) __THROW
int fsetxattr (int __fd, __const char *__name, __const void *__value, size_t __size, int __flags) __THROW
ssize_t getxattr (__const char *__path, __const char *__name, void *__value, size_t __size) __THROW
ssize_t lgetxattr (__const char *__path, __const char *__name, void *__value, size_t __size) __THROW
ssize_t fgetxattr (int __fd, __const char *__name, void *__value, size_t __size) __THROW
ssize_t listxattr (__const char *__path, char *__list, size_t __size) __THROW
ssize_t llistxattr (__const char *__path, char *__list, size_t __size) __THROW
ssize_t flistxattr (int __fd, char *__list, size_t __size) __THROW
int removexattr (__const char *__path, __const char *__name) __THROW
int lremovexattr (__const char *__path, __const char *__name) __THROW
int fremovexattr (int __fd, __const char *__name) __THROW

Define Documentation

#define XATTR_CREATE   XATTR_CREATE

Definition at line 33 of file xattr.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
XATTR_CREATE 
XATTR_CREATE 
XATTR_REPLACE 

Definition at line 30 of file xattr.h.

{
  XATTR_CREATE = 1,  /* set value, fail if attr already exists.  */
#define XATTR_CREATE XATTR_CREATE
  XATTR_REPLACE = 2  /* set value, fail if attr does not exist.  */
#define XATTR_REPLACE       XATTR_REPLACE
};

Function Documentation

ssize_t fgetxattr ( int  __fd,
__const char *  __name,
void *  __value,
size_t  __size 
)
ssize_t flistxattr ( int  __fd,
char *  __list,
size_t  __size 
)

Definition at line 23 of file flistxattr.c.

{
  __set_errno (ENOSYS);
  return -1;
}

Here is the call graph for this function:

int fremovexattr ( int  __fd,
__const char *  __name 
)
int fsetxattr ( int  __fd,
__const char *  __name,
__const void *  __value,
size_t  __size,
int  __flags 
)
ssize_t getxattr ( __const char *  __path,
__const char *  __name,
void *  __value,
size_t  __size 
)
ssize_t lgetxattr ( __const char *  __path,
__const char *  __name,
void *  __value,
size_t  __size 
)
ssize_t listxattr ( __const char *  __path,
char *  __list,
size_t  __size 
)
ssize_t llistxattr ( __const char *  __path,
char *  __list,
size_t  __size 
)
int lremovexattr ( __const char *  __path,
__const char *  __name 
)
int lsetxattr ( __const char *  __path,
__const char *  __name,
__const void *  __value,
size_t  __size,
int  __flags 
)
int removexattr ( __const char *  __path,
__const char *  __name 
)
int setxattr ( __const char *  __path,
__const char *  __name,
__const void *  __value,
size_t  __size,
int  __flags 
)