GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
tt_objid_equal(library call) tt_objid_equal(library call)

tt_objid_equal — test whether two objids are equal

#include &<Tt/tt_c.h>
int tt_objid_equal(
const char *objid1,
const char *objid2);

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.

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:

The operation completed successfully.
The ttsession(1) process is not running and the ToolTalk service cannot restart it.
The objid passed to the ToolTalk service does not reference an existing object spec.

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


Search for    or go to Top of page |  Section l |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.