Deposit man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

Deposit(4)	   Document and Media Exchange Message Sets	    Deposit(4)

NAME
       Deposit - save a document to its backing store

SYNOPSIS
       [file] Deposit(in mediaType contents
		      [in messageID commission]);

DESCRIPTION
       The  Deposit  request  saves  a	document  to  its backing store.  This
       request is different from the Save request in that the  requester  (not
       the handler) has the data to be saved.

       The  contents  argument is the contents of the document.	 If this argu‐
       ment is unset (in other words, has a value of (char *)0), then the con‐
       tents  of  the  document	 are  in  the file named in the message's file
       attribute.  The data type (mediaType) of the contents  argument	should
       be  string,  unless  nulls  are valid in the given media type, in which
       case the data type must be bytes.

       The commission argument contains the message ID	of  the	 Edit  request
       that caused the creation of this buffer.

APPLICATION USAGE
       The  ttmedia_load(3)  function  can  be	used to register for, and help
       process, this message.

       This message can be sent with the ttmedia_Deposit(3) function.

       The Deposit request is useful for cases where the user may  perform  an
       intermediate save of modifications to a document that is the subject of
       an Edit or Display request  in  progress.   In  the  latter  case,  the
       Deposit	may  fail on a TT_DESKTOP_EACCES error if the handler does not
       allow updates to the document being displayed.

       Handlers receiving this request should reply before deleting  any  file
       named  in the message's file attribute, but this is optional and appli‐
       cations should not rely on this.

ERRORS
       The ToolTalk service may return one of the following errors in process‐
       ing the Deposit request:

	  TT_DESKTOP_EACCES
		The document is read-only.

	  TT_DESKTOP_ENOENT
		The  file  that	 was  alleged to contain the document does not
		exist.

	  TT_DESKTOP_ENODATA
		The in-mode contents  argument	had  no	 value	and  the  file
		attribute of the message was not set.

	  TT_MEDIA_ERR_FORMAT
		The document is not a valid instance of the media type.

SEE ALSO
       ttmedia_load(3), ttmedia_Deposit(3); Intro, Display, Edit, Status
       requests.

ToolTalk 1.3			 1 March 1996			    Deposit(4)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net