Re: Need some info about setxattr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 05, 2003 at 04:31:37PM +0530, Subramanya Swamy Ramanath wrote:
> Greetings,

Hello. Your mail would be much easier to read if you wrapped your lines
at 72 characters. I've modified your posting quite a bit to make it fit.

> I am trying to use the system call 'setxattr', the usage of the call
> shows the following
> int setxattr (const char *path, const char *name,
>               const void *value, size_t size, int flags);
> now if I try to set the extended attributes for the file
> /home/guest/Rajeev/data, then the path variable is /home/guest/Rajeev &
> the name variable will be "data". Correct me if I am wrong.

The path variable should be /home/guest/Rajeev/data, and the name
variable should be the name of the extended attribute you wish to
modify.

-- 
"I think anybody who believes that they understand the will of God,
and can act as an agent for God, is dangerous." -- Chris Hedges

Attachment: pgp00390.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux