From: Paul Eggert Date: Tue, 5 Aug 2014 20:14:04 +0000 (-0700) Subject: accept: document Solaris 10 type glitch X-Git-Tag: v1.0~7322 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=ce49a606af81117616c8132a53e826ea457b006b;p=gnulib.git accept: document Solaris 10 type glitch * doc/posix-functions/accept.texi (accept): Mention that Solaris 10 'accept' takes void * last arg, not socklen_t *. --- diff --git a/ChangeLog b/ChangeLog index bdf743a691..43b8fe3ef3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-08-05 Paul Eggert + + accept: document Solaris 10 type glitch + * doc/posix-functions/accept.texi (accept): Mention that + Solaris 10 'accept' takes void * last arg, not socklen_t *. + 2014-08-04 Paul Eggert extern-inline: port to FreeBSD, DragonFly diff --git a/doc/posix-functions/accept.texi b/doc/posix-functions/accept.texi index b937e15f00..65dab3719e 100644 --- a/doc/posix-functions/accept.texi +++ b/doc/posix-functions/accept.texi @@ -28,4 +28,8 @@ in calls to @code{read}, @code{write}, and @code{close}; you have to use @item Some platforms don't have a @code{socklen_t} type; in this case this function's third argument type is @samp{int *}. +@item +On some platforms, this function's third argument type is @samp{void *}, +not @samp{socklen_t *}: +Solaris 10. @end itemize