*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> tt_spec_propname (3)              


 tt_spec_propname(library call)               tt_spec_propname(library call)

 NAME    [Toc]    [Back]
      tt_spec_propname - return an element of the property name list for an
      object spec

 SYNOPSIS    [Toc]    [Back]
      #include <Tt/tt_c.h>
      char *tt_spec_propname(
      const char *objid,
      int n);

 DESCRIPTION    [Toc]    [Back]
      The tt_spec_propname function returns the nth element of the property
      name list for this object spec.

      The objid argument is the identifier of the object involved in this
      operation.  The n argument is the item of the list whose element is to
      be returned.  The list numbering begins with zero.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the tt_spec_propname function returns the
      property name.  If there are n properties or less, tt_spec_propname
      returns NULL. The application can use tt_ptr_error(3) to extract one
      of the following Tt_status values from the returned pointer:

      TT_OK     The operation completed successfully.

                The ToolTalk service could not access the ToolTalk database
                needed for this operation.

                The ToolTalk service could not access the specified ToolTalk
                database in the expected place.

                The ttsession(1) process is not running and the ToolTalk
                service cannot restart it.

                The integer value passed was invalid (out of range).

                The objid passed to the ToolTalk service does not reference
                an existing object spec.

 APPLICATION USAGE    [Toc]    [Back]
      The application should use tt_free(3) to free any data stored in the
      address returned by the ToolTalk API.

 SEE ALSO    [Toc]    [Back]

                                    - 1 -       Formatted:  January 24, 2005

 tt_spec_propname(library call)               tt_spec_propname(library call)

      Tt/tt_c.h - Tttt_c(5), tt_ptr_error(3), tt_free(3).

                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
tt_spec_prop HP-UX retrieve the ith value of the property associated with an object spec
tt_spec_prop_count HP-UX return the number of values listed in this spec property
tt_session_propname HP-UX returns an element of the list of property names for a session
tt_spec_propnames_count HP-UX return the number of property names for an object
glcgetlistc IRIX return element from list
glcgetlisti IRIX return element from list
tt_spec_type_set HP-UX assign an object type value to an object spec
tt_spec_file HP-UX retrieve the name of the file that contains the object described by the spec
tt_spec_create HP-UX create an in-memory spec for an object
tt_session_prop HP-UX return the ith value of a session property
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service