New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use socklen_t in socket function prototypes #63
Comments
It's time to do that I think. Because having
|
dmik
added a commit
that referenced
this issue
Dec 31, 2020
This is a POSIX requirement. Note that this commit also adds ssize_t as a return value in some functions (also according to POSIX) as well as size_t instead of int for input buffer (non-socket) length parameters. Closes #63.
dmik
added a commit
to bitwiseworks/qtbase-os2
that referenced
this issue
Mar 4, 2021
This is to reflect LIBC change, see bitwiseworks/libc#62 and bitwiseworks/libc#63.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a bunch of socket functions (accept, bind and so on) that take one or more
socklen_t
arguments per new POSIX standard. Currently, they useint
on OS/2 and after #62 there issocklen_t
defined asint
. Thissocklen_t
should be used instead in all function prototypes. This includes some backend code that deals withsocklen_t
-like fields (likehighmensocket.c
).The text was updated successfully, but these errors were encountered: