Open System Services Porting Guide (G06.29+, H06.06+, J06.03+)

Figures
1 Relationship of OSS to NonStop Operating System and Guardian Environment........................30
2 OSS and Guardian Interoperability....................................................................................53
3 Mixed-Module Programming Using the c89 Utility................................................................83
Tables
1 ISO/ANSI C Features Not Supported in Common C ............................................................26
2 Cross-Compilation Options for Generating OSS and Guardian Executable Files ......................34
3 Differences Between Guardian and OSS Environments .........................................................72
4 Process Creation Comparison............................................................................................75
5 UNIX Features and the OSS Environment.............................................................................85
6 Interprocess Communication Using OSS APIs ......................................................................88
7 Interprocess Communication Using OSS and Guardian APIs .................................................89
8 Functions Currently Not in the OSS Environment ................................................................111
9 Process Attributes for fork() and exec Set of Functions .........................................................128
10 Memory and Data Models in TNS and Native Environments................................................140
11 Common Guardian Compiler Tasks and How Similar Tasks Are Achieved in the OSS Environment
...................................................................................................................................142
12 Sockets Header Filenames...............................................................................................181
13 Major Differences Between OSS and Guardian Sockets Input/Output...................................183
14 Additional Internet Domain Support Functions ...................................................................184
15 Equivalent OSS and UNIX Commands for Guardian Users..................................................198
16 Equivalent Guardian Commands for OSS and UNIX Users..................................................201
17 Replaced or Renamed Thread Functions............................................................................206
18 Thread Functions With Changed Parameters......................................................................206
19 New Thread Functions....................................................................................................207
20 Thread Functions With Changes to Return Values Only........................................................207
21 Thread Functions With Changes to Return Values Among Other Changes..............................209
22 Thread Functions With Miscellaneous Changes..................................................................212
23 Thread Functions With No Changes.................................................................................212
24 Thread Functions Not Supported in the Standard POSIX Threads Library................................212
25 Optional Thread Functions Supported in Standard POSIX Threads........................................214
26 Obsolete and Replacement APIs in T1248 POSIX Threads....................................................214
Examples
1 runossp.c Sample Code..................................................................................................154
2 Sample Portable fseek() and ftell() Conversion Code Fragment.............................................194
3 Program Before Converting to Support Large Files..............................................................195
4 Program Converted For a Transitional Compilation Environment...........................................196
5 Program Converted For a Large File Compilation Environment..............................................197