LOG(3G) —
NAME
VI_Login, VI_Logout − begin logging subroutine calls and close a log file
SYNOPSIS
int VI_Login(filename)
char ∗filename;/∗ file to log to ∗/
int VI_Logout()
DESCRIPTION
These subroutines begin logging subroutine calls and close the log file.
VI_LoginSpecifies that subsequent subroutine calls are to be echoed into the specified file. If a log file is already open, VI_Login closes it before opening the new file; VI_Login overwrites an existing file. All orders to the display are logged until a logout call (VI_Logout) is issued. The log file may later be executed from within a program using VI_Run or on its own using aedrunner(1). It may also be examined with aedjournal(1).
VI_LogoutCloses the log file.
NOTE
VI_Log applies only to the IBM Academic Information Systems experimental display.
SEE ALSO
aedjournal(1), aedrunner(1), init(3G), run(3G)
“The C Subroutine Interface for the IBM Academic Information Systems Experimental Display” in Volume II.
DIAGNOSTICS
VI_Login returns a negative value if there is an error, and a nonnegative value if the call is successful.
VI_Logout returns one of three values:
ValueMeaning
0Normal completion
-1Error in closing file
-2No file found to close
PRPQs 5799-WZQ/5799-PFF: IBM/4.3 — 30 Sep 1985