Query: attropen
OS: opensolaris
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
attropen(3C) Standard C Library Functions attropen(3C)NAMEattropen - open a fileSYNOPSIS#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int attropen(const char *path, const char *attrpath, int oflag, /* mode_t mode */...);DESCRIPTIONThe attropen() function is similar to the open(2) function except that it takes a second path argument, attrpath, that identifies an extended attribute file associated with the first path argument. This function returns a file descriptor for the extended attribute rather than the file named by the initial argument. The O_XATTR flag is set by default for attropen() and the attrpath argument is always interpreted as a reference to an extended attribute. Extended attributes must be referenced with a relative path; providing an absolute path results in a normal file reference.RETURN VALUESRefer to open(2).ERRORSRefer to open(2).ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+SEE ALSOopen(2), attributes(5), fsattr(5) SunOS 5.11 1 Aug 2001 attropen(3C)
Related Man Pages |
---|
attropen(3c) - sunos |
attropen(3c) - osx |
attropen(3c) - mojave |
attropen(3c) - plan9 |
attropen(3c) - posix |
Similar Topics in the Unix Linux Community |
---|
open-cgf 0.7 (Default branch) |
open-cgf 0.10 (Default branch) |
open-cgf 0.13 (Default branch) |
-d_gnu_source |
pxattr 1.0.5 (Default branch) |