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

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

Contents


 tt_session_bprop_set(library call)       tt_session_bprop_set(library call)




 NAME    [Toc]    [Back]
      tt_session_bprop_set - replace current values stored under the named
      property of a session

 SYNOPSIS    [Toc]    [Back]
      #include <Tt/tt_c.h>
      Tt_status tt_session_bprop_set(
      const char *sessid,
      const char *propname,
      const unsigned char *value,
      int length);

 DESCRIPTION    [Toc]    [Back]
      The tt_session_bprop_set function replaces any current values stored
      under the named property of the specified session with the given
      byte-string value.

      The sessid argument is the name of the session joined.  The
      application can use the sessid value returned when tt_default_session
      is called.  The propname argument is the name of the property whose
      value is to be replaced.  The value argument is the value to which the
      session property is set.  If value is NULL, the property is removed
      entirely.  The length argument is the size of the value in bytes.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the tt_session_bprop_set function returns
      the status of the operation as 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_PROPLEN
                The specified property value is too long.  (The maximum size
                is implementation specific, but is at least 2048.)

      TT_ERR_PROPNAME
                The specified property name is syntactically invalid.

      TT_ERR_SESSION
                The specified ToolTalk session is out of date or invalid.

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


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
tt_session_prop_set HP-UX replace current values for a property of a
tt_session_prop_count HP-UX return the number of values stored under a property of a session
tt_spec_bprop_set HP-UX replace any current values stored under this spec
tt_spec_prop_set HP-UX replace property values
tt_session_bprop HP-UX retrieve the ith value of the named property of a session
tt_session_prop HP-UX return the ith value of a session property
tt_session_propnames_count HP-UX return the number of property names for the session
tt_session_propname HP-UX returns an element of the list of property names for a session
tt_spec_prop_count HP-UX return the number of values listed in this spec property
SgFileSelectionBoxReplaceSuffix IRIX A FileSelectionBox function used to replace the suffix of the current file name.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service