CRE Programmer's Guide

CRE Service Functions
Common Run-Time Environment (CRE) Programmer’s Guide528146-004
6-16
CRE_File_Open_
Figure 6-1. Using Connections to Share a File Open
Table 6-3. Language-Specific Constructs for Standard Files
Language
Standard File
Standard Input Standard Output Standard Log
C str = gets(sp);
ch = getchar();
scanf("%s", sp);
puts(sp);
putchar(ch);
printf("hello",\n);
perror(sp);
COBOL ACCEPT sp DISPLAY sp Not available
FORTRAN READ(5,100) sp WRITE(6,100) sp PAUSE string
STOP string
601VST .VSD
User
Routine
User
Routine
User
Routine
Run-Time
Library
Routine
Run-Time
Library
Routine
Run-Time
Library
Routine
User
Process
Language-Specific Run-Time
Libraries
CRE_File_Open_
Shared File
Guardian
File
Name
Connections
Standard Input
Standard Output
Standard Log
$myterm
$myterm
$vol.subvol.log
3
1
3
I/O File Table
Common Run-Time Environment
Library
FILE_OPEN_
Guardian File
System