attropen man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

attropen(3C)		 Standard C Library Functions		  attropen(3C)

NAME
       attropen - open a file

SYNOPSIS
       #include <sys/types.h>
       #include <sys/stat.h>
       #include <fcntl.h>

       int  attropen(const  char  *path,  const	 char *attrpath, int oflag, /*
       mode_t mode */...);

DESCRIPTION
       The 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 VALUES
       Refer to open(2).

ERRORS
       Refer to open(2).

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Evolving			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       open(2), attributes(5), fsattr(5)

SunOS 5.10			  1 Aug 2001			  attropen(3C)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net