summaryrefslogtreecommitdiff
path: root/modules/fcntl
blob: 051e8f922132730bbb1b62bfa0659a1895d599e4 (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
31
32
33
34
35
36
Description:
Like <fcntl.h>, but with non-working flags defined to 0.

Files:
lib/fcntl_.h
m4/fcntl_h.m4

Depends-on:
absolute-header
unistd

configure.ac:
gl_FCNTL_H

Makefile.am:
BUILT_SOURCES += $(FCNTL_H)

# We need the following in order to create <fcntl.h> when the system
# doesn't have one that works with the given compiler.
fcntl.h: fcntl_.h
	rm -f $@-t $@
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
	      < $(srcdir)/fcntl_.h; \
	} > $@-t
	mv $@-t $@
MOSTLYCLEANFILES += fcntl.h fcntl.h-t

Include:
#include <fcntl.h>

License:
LGPL

Maintainer:
all