Back to index

glibc  2.9
removexattr.c File Reference
#include <errno.h>
#include <sys/xattr.h>
#include <hurd.h>
#include <hurd/xattr.h>

Go to the source code of this file.


ssize_t removexattr (const char *path, const char *name)

Function Documentation

ssize_t removexattr ( const char *  path,
const char *  name 

Definition at line 26 of file removexattr.c.

  error_t err;
  file_t port = __file_name_lookup (path, 0, 0);
  if (port == MACH_PORT_NULL)
    return -1;
  err = _hurd_xattr_remove (port, name);
  __mach_port_deallocate (__mach_task_self (), port);
  return __hurd_fail (err);

Here is the call graph for this function: