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

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


 tt_spec_create(library call)                   tt_spec_create(library call)

 NAME    [Toc]    [Back]
      tt_spec_create - create an in-memory spec for an object

 SYNOPSIS    [Toc]    [Back]
      #include <Tt/tt_c.h>
      char *tt_spec_create(
      const char *filepath);

 DESCRIPTION    [Toc]    [Back]
      The tt_spec_create function creates a spec (in memory) for an object.

      The application can use the objid returned in future calls to
      manipulate the object.

      The filepath argument is the name of the file.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the tt_spec_create function returns the
      identifier for this object.  The application can use tt_ptr_error(3)
      to extract one of the following Tt_status values from the returned

      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 specified object type is not the name of an installed
                object type.

                The specified pathname included an unsearchable directory.

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

      To make the object a permanent ToolTalk item or one visible to other
      processes, the creating process must call tt_spec_write(3).

                                    - 1 -       Formatted:  January 24, 2005

 tt_spec_create(library call)                   tt_spec_create(library call)

 SEE ALSO    [Toc]    [Back]
      Tt/tt_c.h - Tttt_c(5), tt_spec_type_set(3), tt_spec_write(3),
      tt_ptr_error(3), tt_free(3).

                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
shm_open FreeBSD open or create a shared memory object shm_unlink -- remove a shared memory object
tt_spec_type_set HP-UX assign an object type value to an object spec
shm_open HP-UX create/open a shared memory object
tt_spec_prop HP-UX retrieve the ith value of the property associated with an object spec
tt_spec_file HP-UX retrieve the name of the file that contains the object described by the spec
tt_spec_propname HP-UX return an element of the property name list for an object spec
rpccp_export HP-UX Exports binding information for an interface identifier or object UUIDs or both to a server entry; if the spec
shm_open Tru64 Opens a shared memory object, creating the object if necessary (P1003.1b)
glunewquadric IRIX create a quadrics object
glunewnurbsrenderer IRIX create a NURBS object
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service