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

  man pages->HP-UX 11i man pages -> tt_objid_equal (3)              
Title
Content
Arch
Section
 

Contents


 tt_objid_equal(library call)                   tt_objid_equal(library call)




 NAME    [Toc]    [Back]
      tt_objid_equal - test whether two objids are equal

 SYNOPSIS    [Toc]    [Back]
      #include <Tt/tt_c.h>
      int tt_objid_equal(
      const char *objid1,
      const char *objid2);

 DESCRIPTION    [Toc]    [Back]
      The tt_objid_equal function tests whether two objids are equal.

      The tt_objid_equal(3) function is recommended rather than strcmp(3)
      for this purpose because the tt_objid_equal(3) function returns 1 even
      in the case where one objid is a forwarding pointer for the other.

      The objid1 argument is the identifier of the first object involved in
      this operation.  The objid2 argument is the identifier of the second
      object involved in this operation.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the tt_objid_equal function returns an
      integer that indicates whether the objids are equal.  The application
      can use tt_int_error(3) to extract one of the following Tt_status
      values from the returned integer:

      0         The objid1 and objid2 objects are not equal.

      1         The objid1 and objid2 objects are equal.

      The application can use tt_int_error(3) to determine if the integer is
      valid.  The tt_objid_equal function returns one of the following
      Tt_status values:

      TT_OK     The operation completed successfully.

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

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

 SEE ALSO    [Toc]    [Back]
      Tt/tt_c.h - Tttt_c(5), tt_int_error(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
floor FreeBSD largest integral value less than or equal to x
floorf FreeBSD largest integral value less than or equal to x
ceil FreeBSD smallest integral value greater than or equal to x
ceilf FreeBSD smallest integral value greater than or equal to x
tt_ptype_opnum_callback_add HP-UX return a callback if two opnums are equal
tt_otype_opnum_callback_add HP-UX return a callback if two opnums are equal
ceiling IRIX Returns the least integer greater than or equal to its argument
ceilf OpenBSD round to smallest integral value greater than or equal to x
ceilf NetBSD round to smallest integral value greater than or equal to x
mac_dominate IRIX compare two MAC labels for the dominates/equal relationship
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service