MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Standard C Library Functions                         attropen(3C)



NAME
     attropen - open a file

SYNOPSIS
     #include 
     #include 
     #include 

     int attropen(const char *path, const char *attrpath, int oflag,
          /* modet 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 OXATR 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).

ERORS
     Refer to open(2).

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Evolving                    
    
     MT-Level                     Safe                        
    


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





SunOS 5.11           Last change: 1 Aug 2001                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™