Go to main content

man pages section 4: Device and Network Interfaces

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Save (4)

Name

Save - save any modifications to an entity

Synopsis

[file] Save(in type ID);

Description

Desktop Services Message Sets                                          Save(4)



NAME
       Save - save any modifications to an entity

SYNOPSIS
       [file] Save(in type ID);

DESCRIPTION
       The  Save notice asks that any pending, unsaved modifications to a per-
       sistent entity (such as a file) be saved.

       The ID argument is the identity of the entity to save.  When  its  type
       is  File, then the ID argument is unset (in other words, has a value of
       (char *)0), and it refers to the file or directory named  in  the  mes-
       sage's file attribute.

ERRORS
       The ToolTalk service may return one of the following errors in process-
       ing the Save notice:

          TT_DESKTOP_UNMODIFIED
                The entity had no pending, unsaved modifications.

          TT_DESKTOP_ENOENT
                The file to save/revert does not exist.

APPLICATION USAGE
       The ttdt_file_join(3), function can be used to register for,  and  help
       process, the Save request.

       The   Save  request  can  be  sent  with  ttdt_file_request(3).   Also,
       ttdt_Save(3), can send the relevant message and block on the reply.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/tooltalk |
       +---------------+------------------+
       |Stability      | Committed        |
       +---------------+------------------+

SEE ALSO
       ttdt_Save(3), ttdt_file_join(3), ttdt_file_request(3); Revert notice.




ToolTalk 1.3                     1 March 1996                          Save(4)