view modules/accept4 @ 40237:b1386ce84ff5

fatal-signal: Add function that lists the fatal signals. * lib/fatal-signal.h (get_fatal_signals): New declaration. * lib/fatal-signal.c (get_fatal_signals): New function.
author Bruno Haible <bruno@clisp.org>
date Sat, 16 Mar 2019 17:48:06 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
accept4() function: accept a connection on a socket, with specific opening
flags.

Files:
lib/accept4.c
m4/accept4.m4

Depends-on:
sys_socket
accept
fcntl-h
binary-io
extensions
msvc-nothrow

configure.ac:
gl_FUNC_ACCEPT4
gl_SYS_SOCKET_MODULE_INDICATOR([accept4])

Makefile.am:
lib_SOURCES += accept4.c

Include:
<sys/socket.h>

Link:
$(LIBSOCKET)

License:
LGPL

Maintainer:
Simon Josefsson