File: xs_errno.txt

package info (click to toggle)
libxs 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 6,136 kB
  • ctags: 2,159
  • sloc: cpp: 16,233; sh: 10,244; ansic: 405; makefile: 354
file content (50 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
xs_errno(3)
===========


NAME
----
xs_errno - retrieve value of errno for the calling thread


SYNOPSIS
--------
*int xs_errno (void);*


DESCRIPTION
-----------
The _xs_errno()_ function shall retrieve the value of the 'errno' variable for
the calling thread.

The _xs_errno()_ function is provided to assist users on non-POSIX systems who
are experiencing issues with retrieving the correct value of 'errno' directly.
Specifically, users on Win32 systems whose application is using a different C
run-time library from the C run-time library in use by Crossroads will need to
use _xs_errno()_ for correct operation.

IMPORTANT: Users not experiencing issues with retrieving the correct value of
'errno' should not use this function and should instead access the 'errno'
variable directly.


RETURN VALUE
------------
The _xs_errno()_ function shall return the value of the 'errno' variable for
the calling thread.


ERRORS
------
No errors are defined.


SEE ALSO
--------
linkxs:xs[7]


AUTHORS
-------
The Crossroads documentation was written by Martin Sustrik <sustrik@250bpm.com>
and Martin Lucina <martin@lucina.net>.