X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Faccept.texi;h=b937e15f00dfe8278e9efc5caff47b33931eea5b;hb=f40e1532834adc754cac576a07d43b9556f89a97;hp=be125cfa2c7242eddbd470fbcea74ca7c1cab12a;hpb=32848a0b172a6f0f4f7122cc1c7c1050f85094df;p=gnulib.git diff --git a/doc/posix-functions/accept.texi b/doc/posix-functions/accept.texi index be125cfa2..b937e15f0 100644 --- a/doc/posix-functions/accept.texi +++ b/doc/posix-functions/accept.texi @@ -2,26 +2,27 @@ @section @code{accept} @findex accept -POSIX specification: @url{http://www.opengroup.org/susv3xsh/accept.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/accept.html} -Gnulib module: sys_socket +Gnulib module: accept Portability problems fixed by Gnulib: @itemize @item On Windows platforms (excluding Cygwin), the descriptors returned by -the @code{accept} function can not be used in calls to @code{read}, +the @code{accept} function cannot be used in calls to @code{read}, @code{write}, and @code{close}; you have to use @code{recv}, @code{send}, @code{closesocket} in these cases instead. @item -On Windows platforms (excluding Cygwin), error codes for @code{accept} are not -placed in @code{errno}, and @code{WSAGetLastError} must be used instead. +On Windows platforms (excluding Cygwin), error codes for @code{accept} +are not placed in @code{errno}, and @code{WSAGetLastError} must be +used instead. @end itemize Portability problems not fixed by Gnulib: @itemize @item -On BeOS, the descriptors returned by the @code{accept} function can not be used +On BeOS, the descriptors returned by the @code{accept} function cannot be used in calls to @code{read}, @code{write}, and @code{close}; you have to use @code{recv}, @code{send}, @code{closesocket} in these cases instead. @item