Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

libaf(3) [osf1 man page]

libAF(3)						     Library Functions Manual							  libAF(3)

NAME
libAF - Provides Attribute File Library functions to manipulate file attributes LIBRARY
Attribute File Library (libAF.a) SYNOPSIS
#include <AFdefs.h> void AFclose( AFILE_t af); ATTR_t AFgetatr( ENT_t entry, char *name); ENT_t AFgetent( AFILE_t af, char *name); ENT_t AFgetent( AFILE_t af, char *name); char *AFgetval( ATTR_t attr); ATTR_t AFnxtatr( ENT_t entry); ENT_t AFnxtent( AFILE_t af); char *AFnxtval( ATTR_t attr); AFILE_t AFopen( char *filename, int maxrecsiz, int maxnumatr); int AFread( af); void AFrewind( AFILE_t af); void AFsetdflt( AFILE_t af, char *dflt); PARAMETERS
Specifies the attribute file to be closed. Specifies the entry name. Specifies the name of an attribute value. Specifies the attribute value in the attribute list. Specifies the attribute filename. Specifies the maximum size of a record in bytes. Specifies the maximum number of attributes per record. Points to the character name string of an attribute file structure. DESCRIPTION
The libAF functions are provided for programs that use attribute files. These functions perform the following: Closes the specified attribute file. Gets the attribute value matching name from the attribute list. Returns a pointer entry to the value of name. Finds the first entry in an attribute file which has the specified name. Returns a pointer af to an attribute structure. Gets the next attribute value from the attribute list for the specified attribute value. Returns a pointer attr to the character string of the first value in the attribute list. Gets the next attribute from the entry list for the attribute file entry. Returns a pointer to an attribute structure. Gets the next entry from an attribute file. Merges in any default entry that proceeds it. Returns a pointer to an attribute structure. Gets the next attribute value from the attribute list for the current attribute. Returns a pointer to the next string value in the attribute list. Opens the specified attribute file. Returns a pointer to an attribute file structure. Reads the next entry from an attribute file. Fills in the current attribute table and buffer. Moves to the beginning of the specified attribute file. Sets the default entry name for the specified attribute file. RELATED INFORMATION
stanza(4) delim off libAF(3)

Check Out this Related Man Page

add directory(1m)														 add directory(1m)

NAME
add directory - Adds a value to a modifiable, set-valued attribute (including application-defined attributes) of a directory SYNOPSIS
cdscp add directory directory-name attribute-name = attribute-value ARGUMENTS
The full name of the directory. The name of a particular attribute. Specify only one attribute at a time. See the cds_attributes file for the list of attributes that your application uses. attribute-value The value of a particular attribute. The value of an application- defined attribute is dependent on the type of attribute. See the cds_attributes file for the list of attributes and corresponding data types that your application uses. If you enter a byte data type, you must enter an even number of digits in length. You can only enter pairs of hexadecimal values for user-defined attributes. DESCRIPTION
The add directory command adds a value to a modifiable, set-valued attribute (including application-defined attributes) of a directory. If the attribute does not exist, this command creates it. Usually, this task is performed through the client application. See the DCE Admin- istration Guide for more information about attributes. Privilege Required You must have write permission to the directory. NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE. EXAMPLE
To add the value ontario to the attribute myname of a directory named /.:/sales, read the cds_attributes file to verify that the attribute shown in the following display exists: OID LABEL SYNTAX 1.3.22.1.3.91 myname char Enter the following command to assign the value ontario to the attribute myname: cdscp> add directory /.:/sales myname = ontario RELATED INFORMATION
Commands: remove directory(1m), show directory(1m) Books: OSF DCE Administration Guide add directory(1m)
Man Page