SysPutEA
Function:
Syntax:
result = SysPutEA(file, name, value)
file
The file where the extended attribute
will be written.
name
The
name of the extended attribute.
value
The
new value of the extended attribute.
result
The function result. If the result is 0, the
extended attribute has been written to the file. A non-zero result is the
OS/2 return code of the failing function.
Purpose:
Write a named extended attribute to a file.
Examples:
/* Code */
type = "OS/2 Command File"
typeinfo = "DFFF00000100FDFF'x || d2c(length(type)) || '00'x || type
call SysPutEA "C:\CONFIG.SYS", "TYPE", typeinfo
[Back: SysOS2Ver]
[Next: SysQueryClassList]