fp_setea Kernel Service
Purpose
Sets an extended attribute value.
Syntax
Parameters
| Item | Description |
|---|---|
| fp | Specifies a file structure returned by the fp_open kernel service. |
| name | Specifies the name of the extended attribute. An extended attribute name is a NULL terminated string. |
| value | Specifies a pointer to the value of an attribute. The value of an extended attribute is an opaque byte stream of specified length. |
| size | Specifies the length of the value. |
| flags | None of the flags are defined at this time. |
| segflag | Specifies the flag indicating where the pointer specified by the path parameter is located:
|
Description
The fp_setea kernel
service provides a common service used by the following routines:
- The file system for the implementation of the fsetea subroutine
- Kernel routines outside the file system that set extended attribute values
Execution Environment
The fp_setea kernel service can be called from the process environment only.
Return Values
| Item | Description |
|---|---|
| 0 | Indicates a successful operation. |
| ERRNO | Indicates a failed operation. Returns an error number from the /usr/include/sys/errno.h file on failure. |