Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fn_attr_get_ids(3N) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

FN_attribute_t(3N)

FN_attrset_t(3N)

FN_composite_name_t(3N)

FN_ctx_t(3N)

FN_status_t(3N)

fn_attr_get(3N)

fn_attr_multi_get(3N)

xfn(3N)

xfn_attributes(3N)

xfn_status_codes(3N)

attributes(5)

fn_attr_get_ids(3N)

NAME

fn_attr_get_ids − get a list of the identifiers of all attributes associated with named object

SYNOPSIS

cc [ flag ... ] file ... −lxfn [ library ... ]

#include <xfn/xfn.h>

FN_attrset_t ∗fn_attr_get_ids(FN_ctx_t ∗ctx, const FN_composite_name_t ∗name,

unsigned int follow_link, FN_status_t ∗status);

DESCRIPTION

This operation returns a list of the attribute identifiers of all attributes associated with the object named by name relative to the context ctx.  If name is empty, the attribute identifiers associated with ctx are returned. 

The value of follow_link determines what happens when the terminal atomic part of name is bound to an XFN link.  If follow_link is non-zero, such a link is followed, and the values of the attribute associated with the final named object are returned; if follow_link is zero, such a link is not followed.  Any XFN links encountered before the terminal atomic name are always followed. 

RETURN VALUES

This operation returns a pointer to an object of type FN_attrset_t; if the operation fails, a NULL pointer (0) is returned. 

ERRORS

This operation sets status as described in FN_status_t(3N) and xfn_status_codes(3N). 

USAGE

The attributes in the returned set do not contain the syntax or values of the attributes, only their identifiers. 

ATTRIBUTES

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

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe

SEE ALSO

FN_attribute_t(3N), FN_attrset_t(3N), FN_composite_name_t(3N), FN_ctx_t(3N), FN_status_t(3N), fn_attr_get(3N), fn_attr_multi_get(3N), xfn(3N), xfn_attributes(3N), xfn_status_codes(3N), attributes(5)

NOTES

The implementation of XFN in this Solaris release is based on the X/Open preliminary specification.  It is likely that there will be minor changes to these interfaces to reflect changes in the final version of this specification.  The next minor release of Solaris will offer binary compatibility for applications developed using the current interfaces.  As the interfaces evolve toward standardization, it is possible that future releases of Solaris will require minor source code changes to applications that have been developed against the preliminary specification. 

SunOS 5.6  —  Last change: 13 Dec 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026