Guardian Procedure Calls Reference Manual
Messages
When a process is opened by either FILE_OPEN_ or OPEN, it receives a process open message
(unless it specified when opening $RECEIVE that it wants no messages). This message is in D-series
format (message -103) or in C-series format (message -30), depending on what the receiving
process specified when it opened $RECEIVE. The process handle of the opener can be obtained
by a subsequent call to FILE_GETRECEIVEINFO_. For a description of the process open message,
see the Guardian Procedure Errors and Messages Manual.
NOTE: This message is also received if the backup process of a process pair performs an open.
Therefore, a process can expect two of these messages when being opened by a process pair.
Example
The open in the following example has these defaults; waited I/O, exclusion mode (shared), access
mode (read/write), sync depth (0):
error := FILE_OPEN_ ( file^name:length, file^num );
Related Programming Manuals
For programming information about the FILE_OPEN_ procedure, see the Guardian Programmer's
Guide and the Enscribe Programmer's Guide.
470 Guardian Procedure Calls (F)