asgetattr man page on IRIX

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



asgetattr(3x)							 asgetattr(3x)

NAME
     asgetattr - search an attribute list for a particular name

SYNOPSIS
     #include <arraysvcs.h>

     const char *asgetattr(const char *attrname, const char **attrs,					   int numattrs)

DESCRIPTION
     The asgetattr function searches through a list of strings for a
     particular attribute name and returns a corresponding value, similar to
     the way getenv(3C) searches through the environment for a particular
     variable.

     The list of strings, attrs, will typically have been returned by a
     function such as aslistarrays(3X) or aslistmachines(3X).  The argument
     numattrs specifies the number of strings in the list.

     The attribute to be found is identified by the name attrname.  Attributes
     are assumed to be of the format "NAME=VALUE", so this amounts to
     searching the attributes for the first one that starts with attrname
     followed either by a null or the character "=".  If NAME is not found,
     NULL is returned.	If the attribute is present with no value, a pointer
     to a null character is returned, otherwise a pointer to VALUE is
     returned.

NOTES
     asgetattr is found in the library "libarray.so", and will be loaded if
     the option "-larray" is used with cc(1) or ld(1).

SEE ALSO
     aslistarrays(3X), aslistmachines(3X),

									Page 1

[top]

List of man pages available for IRIX

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