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

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


 ttdt_Get_Modified(library call)             ttdt_Get_Modified(library call)

 NAME    [Toc]    [Back]
      ttdt_Get_Modified - ask if any ToolTalk client has changes pending on
      a file

 SYNOPSIS    [Toc]    [Back]
      #include <Tt/tttk.h>
      int ttdt_Get_Modified(
      Tt_message context,
      const char *pathname,
      Tt_scope the_scope,
      XtAppContext app2run,
      int ms_timeout);

 DESCRIPTION    [Toc]    [Back]
      The ttdt_Get_Modified function sends a Get_Modified request in the
      scope the_scope and waits for the reply.  A Get_Modified request asks
      if any ToolTalk client has changes pending on pathname that it intends
      to make persistent.

      The context argument describes the environment to use.  If context is
      not zero, messages created by ttdt_Get_Modified inherit from context
      all contexts whose slotname begins with the characters ENV_. That is,
      the environment described in context is propagated to messages created
      by ttdt_Get_Modified.

      The pathname argument is a pointer to a pathname on which the client
      is operating.

      The the_scope argument identifies the scope of the request.  If
      the_scope is TT_SCOPE_NONE, ttdt_Get_Modified tries TT_BOTH, and falls
      back to TT_FILE_IN_SESSION if, for example, the ToolTalk database
      server is not installed on the file server that owns pathname.

      The ttdt_Get_Modified function passes app2run and ms_timeout to
      tttk_block_while(3), blocking on the reply to the Get_Modified request
      it sends.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the ttdt_Get_Modified function returns
      non-zero if the Get_Modified request receives an affirmative reply
      within ms_timeout milliseconds; otherwise, it returns zero.

 SEE ALSO    [Toc]    [Back]
      Tt/tttk.h - Tttttk(5), ttdt_file_join(3), ttdt_file_event(3),

                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
ttdt_Revert HP-UX request a ToolTalk client to revert a file
ttdt_Save HP-UX request a ToolTalk client to save a file
TIFFFlush IRIX flush pending writes to an open TIFF file
aio_cancel Tru64 Cancels one or more asynchronous I/O requests pending against the specified file descriptor (P1003.1...
ttdt_file_event HP-UX use ToolTalk to announce an event about a file
ttdt_file_quit HP-UX unregister interest in ToolTalk events about a file
ttdt_file_join HP-UX register to observe ToolTalk events on a file
tt_spec_move HP-UX notify the ToolTalk service that an object has moved to a different file
ttdt_file_request HP-UX create and send a standard ToolTalk request about a file
ttdt_file_notice HP-UX create and send a standard ToolTalk notice about a file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service