Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/docs/nspr/reference/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 621 B image not shown  

Quelle  pr_getoserror.rst   Sprache: unbekannt

 
Spracherkennung für: .rst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

PR_GetOSError
=============

Returns the current thread's last set OS-specific error code.


Syntax
------

.. code::

   #include <prerror.h>

   PRInt32 PR_GetOSError(void)


Returns
~~~~~~~

The value returned is a 32-bit signed number. Its interpretation is left
to the caller.


Description
-----------

Used for platform-specific code that requires the underlying OS error.
For portability, clients should not create dependencies on the values of
OS-specific error codes. However, this information is preserved, along
with a platform neutral error code, on a per thread basis. It is most
useful during development.

[Dauer der Verarbeitung: 0.18 Sekunden, vorverarbeitet 2026-05-01]