Back to the Main Page. | ac_prototype_accept |
Download the M4 Source. |
AC_PROTOTYPE_ACCEPT
2005-01-19 0.5.65 : Misc
Loic Dachary <loic@senga.org>
license: GPLWithACException
/* Type of second argument of accept */
#undef ACCEPT_ARG2
/* Type of third argument of accept */
#undef ACCEPT_ARG3
AC_DEFUN([AC_PROTOTYPE_ACCEPT],[ AC_PROTOTYPE(accept, [ #include <sys/types.h> #include <sys/socket.h> ], [ int a = 0; ARG2 * b = 0; ARG3 * c = 0; accept(a, b, c); ], ARG2, [struct sockaddr, void], ARG3, [socklen_t, size_t, int, unsigned int, long unsigned int]) ])