Open System Services Porting Guide (G06.29+, H06.06+, J06.03+)
FCEDIT....................................................................................................................57
HISTSIZE and HISTFILE..............................................................................................57
Guardian Environment Variables and the OSS Shell...............................................................57
OSS Commands for the Guardian User.....................................................................................59
Managing Processes From OSS...........................................................................................59
Examples.....................................................................................................................59
Managing Files From OSS..................................................................................................60
Editing Files From OSS........................................................................................................60
Printing Files From OSS.......................................................................................................60
Examples.....................................................................................................................60
Compiling and Linking Programs From OSS...........................................................................61
Examples.....................................................................................................................61
Guardian Commands for the UNIX User....................................................................................62
Managing Processes From TACL ..........................................................................................62
Examples.....................................................................................................................62
Managing Files From TACL .................................................................................................63
Editing Files From TACL ......................................................................................................63
Moving Files From the Guardian Environment to the OSS Environment..................................63
Moving Files From the OSS Environment to the Guardian Environment..................................64
Printing Files From TACL .....................................................................................................64
OSS Pathname and Guardian Filename Conversions...................................................................64
Running the OSS Shell and Commands From TACL......................................................................65
Performing a Single Command Under the OSS Shell...............................................................65
Performing a Single Program Without Invoking the OSS Shell..................................................65
Starting an OSS Shell Script................................................................................................65
Redirecting Input and Output to a File...................................................................................65
Redirecting Input and Output to the Guardian Environment......................................................66
Interactively Using TACL and the OSS Shell...........................................................................66
Running Guardian Commands From the OSS Shell.....................................................................66
Running OSS Processes With Guardian Attributes.......................................................................67
Using OSS Commands to Manage Guardian Objects.................................................................67
Managing Guardian Processes From the OSS Shell................................................................68
Manipulating Guardian Files From the OSS Shell...................................................................68
The chgrp and chown Utilities.........................................................................................68
The chmod Utility..........................................................................................................68
The setacl Utility............................................................................................................69
The cp Utility................................................................................................................69
The file Utility...............................................................................................................69
The ls Utility..................................................................................................................69
The mv Utility................................................................................................................69
The pax Utility..............................................................................................................70
The rm Utility................................................................................................................70
The who Utility..............................................................................................................70
5 Interoperating Between Programming Environments.......................................71
Interoperability.......................................................................................................................71
Major Differences Between Programming Environments...........................................................71
Header Files..........................................................................................................................72
Use of Feature Test Macros..................................................................................................73
Function Entry Points Defined in Header Files.........................................................................73
Role of the cextdecs.h File for Accessing Guardian Procedures.................................................73
API Interoperability.................................................................................................................73
API Interoperability Tables...................................................................................................74
Environment-Specific Functions.............................................................................................74
Process Interoperability............................................................................................................74
Contents 5