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

Compiling Native and TNS OSS Programs..........................................................................183
Interoperability of OSS and Guardian Sockets in an OSS Application.........................................184
12 Porting Threaded Applications from the Draft 4 Standard to the Standard POSIX
Threads Library.........................................................................................186
Change in Error Reporting.....................................................................................................186
Considerations for Porting DCE Threads to Standard POSIX Threads............................................187
General Considerations for Porting to Standard POSIX Threads...................................................187
13 Porting Threaded Applications to the POSIX User Thread (PUT) Model
library.....................................................................................................188
Standards Conformance........................................................................................................188
Exceptions and Extensions to the Standard Document...........................................................188
Threads Portability................................................................................................................188
14 Porting Applications to Support Large OSS Files........................................190
Large File Safe and Large File Aware Applications....................................................................191
Compilation Environments and Large File Support.....................................................................191
Choosing a Compilation Environment......................................................................................191
Choosing the Regular Compilation Environment...................................................................191
Choosing the Transitional Compilation Environment..............................................................191
Choosing the Large File Compilation Environment.................................................................192
General Conversion Issues.....................................................................................................192
Conversion Issues for fseek() and ftell().....................................................................................193
Example Conversion.............................................................................................................194
Original Example Program................................................................................................194
Program Converted for Transitional Compilation Environment.................................................195
Program Converted For Large File Compilation Environment...................................................196
A Equivalent OSS and UNIX Commands for Guardian Users...........................198
B Equivalent Guardian Commands for OSS and UNIX Users...........................201
C Standard POSIX Thread Functions: Differences Between the Draft 4 and IEEE
1003.1c 1995 Standards............................................................................205
Reference Pages for Thread Functions......................................................................................205
Changed Thread Functions....................................................................................................205
Glossary..................................................................................................217
Index.......................................................................................................232
Contents 11