posixlib errno.scala
is incomplete
#2716
Labels
has pr
There is a pending PR that addresses this issue
errno.scala
is incomplete
#2716
According to the POSIX 2018 specification for
errno.h
, the following ought toprovide access to the
errno
variable:[I will note and skip in passing the long standing flaw of the object having been named (lower case)
errno
,causing conflict with the enclosed variable. Fi!]
Currently, in order to work in POSIX land, and use both errno and POSIX defined
values for errno, one must import the variable
errno
from clib and then thevalues from posixib. The latter is comprehensible, the former is a case where
we can and should do better.
The list of possible values for errno should be checked against the specification.
I know of no missing value but believe that validation would be worthwhile,
if only bringing (my) peace of mind.
Later: posixlib
errno.scala
was compared to the 2018 POSIX specificationand the symbol EADDRNOTAVAIL was found to be missing in
the former. See Issue posixlib errno.scala is missing symbol EADDRNOTAVAIL #2717.
The text was updated successfully, but these errors were encountered: