summaryrefslogtreecommitdiff
path: root/modules/close
blob: 926ea855017a676372b90ec5185ea9318f8aa899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description:
close() function: close a file or socket.

Files:
lib/close.c
m4/close.m4

Depends-on:
unistd
fd-hook         [test $REPLACE_CLOSE = 1]
msvc-inval      [test $REPLACE_CLOSE = 1]

configure.ac:
gl_FUNC_CLOSE
gl_CONDITIONAL([GL_COND_OBJ_CLOSE], [test $REPLACE_CLOSE = 1])
gl_UNISTD_MODULE_INDICATOR([close])

Makefile.am:
if GL_COND_OBJ_CLOSE
lib_SOURCES += close.c
endif

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson