Guardian Programming Reference Summary for C

Functions Summary (G-N)
Guardian Programming Reference Summary for C522630-001
6-12
INITIALIZEEDIT
Allocates the EDIT file segment (EFS) to be used by IOEdit and initializes the data
structures that it contains.
nowait-option
INITIALIZER
Reads the startup message and, optionally, requests receipt of assign and param
messages sent by the Guardian command interpreter.
Considerations for C Programmers
Do not call INITIALIZER from a Guardian or OSS C program. You can instead obtain
the startup information from the C run-time library. Refer to the C/C++ Programmers
Guide for information on how to obtain the startup information from a Guardian C
program.
INTERPRETINTERVAL
Converts a value representing a number of microseconds into days, hours, minutes,
seconds, milliseconds, and microseconds.
#include <cextdecs(INCREMENTEDIT)>
short INCREMENTEDIT ( short filenum /* i */
,[ long increment ] );/* i */
#include <cextdecs(INITIALIZEEDIT)>
short INITIALIZEEDIT ( [ short *swapvol ] /* i */
,[ short maxfiles ] /* i */
,[ short errorabend ] /* i */
,[ short nowait-option ] ); /* i */
0 = Don’t use double buffering on any file.
1 = Use double buffering on all files that the user opens for nowait I/O before
calling OPENEDIT_ (or OPENEDIT).
2 = Use double buffering on all files opened for nowait I/O, whether by the user or
by OPENEDIT_ (or OPENEDIT).