TutErrNumGetOs get the value of the operating system error number
None
The value of the operating system error number.
None
The operating system error number is a value indicating how the last OS function failed. The error number is valid only when TutErrNumGet reports T_ERR_OS.
On OpenVMS, if the error also has a C equivalent, call the function TutErrNumGetC to obtain the related C-specific error value (TutErrNumGetC returns 0
if there is no equivalent C error).
This error number is stored in a value for each thread to accommodate multi-threaded programs.
TutErrNumGetOs should only be called when TutErrNumGet returns T_ERR_OS.
TutErrNumGet, TutErrNumGetC, TutErrNumGetSocket
This example checks if an OS error occurred and prints the related OS error code:
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |