1
0
Fork 0
firefox/docs/nspr/reference/pr_geterrortext.rst
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

32 lines
482 B
ReStructuredText

PR_GetErrorText
===============
Copies the current thread's current error text without altering the text
as stored in the thread's context.
Syntax
------
.. code::
#include <prerror.h>
PRInt32 PR_GetErrorText(char *text);
Parameters
~~~~~~~~~~
The function has one parameter:
``text``
On output, the array pointed to contains the thread's current error
text.
Returns
-------
The actual number of bytes copied. If the result is zero, ``text`` is
unaffected.