• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

system/H03-May-2022-1,705886

tests/H03-May-2022-1,8401,428

.checker_innocentH A D16-Sep-2014166 54

MakefileH A D10-Dec-2019860 6540

READMEH A D10-Dec-20191.5 KiB129120

closefrom.cH A D28-Jul-20162.6 KiB13995

configureH A D10-Dec-2019432 2214

cwrap.cH A D16-Sep-20141.2 KiB4717

dlfcn.cH A D16-Sep-20141.8 KiB7747

getaddrinfo.cH A D16-Sep-201410.3 KiB494362

getaddrinfo.hH A D16-Sep-20143.1 KiB9234

getifaddrs.cH A D10-Dec-20198.3 KiB384268

hdr_replace.hH A D16-Sep-201484 31

inet_aton.cH A D16-Sep-20141.2 KiB346

inet_ntoa.cH A D16-Sep-20141.3 KiB4010

inet_ntop.cH A D16-Sep-20144.9 KiB192109

inet_pton.cH A D16-Sep-20145 KiB214140

poll.cH A D16-Sep-20143.3 KiB14093

replace-test.hH A D16-Sep-2014223 106

replace-testsuite.hH A D16-Sep-2014243 116

replace.cH A D16-Dec-201921.3 KiB1,059824

replace.hH A D16-Dec-201920.8 KiB972685

snprintf.cH A D10-Dec-201935.5 KiB1,5351,195

socket.cH A D16-Sep-20141.2 KiB4012

socketpair.cH A D16-Sep-20141.3 KiB4718

strptime.cH A D21-Mar-201923.5 KiB996847

timegm.cH A D16-Sep-20142.5 KiB7935

win32_replace.hH A D16-Sep-20144.3 KiB160141

wscriptH A D03-May-202241.4 KiB967756

xattr.cH A D16-Dec-201921.4 KiB840693

README

1This subsystem ensures that we can always use a certain core set of
2functions and types, that are either provided by the OS or by replacement
3functions / definitions in this subsystem. The aim is to try to stick
4to POSIX functions in here as much as possible. Convenience functions
5that are available on no platform at all belong in other subsystems
6(such as LIBUTIL).
7
8The following functions are guaranteed:
9
10ftruncate
11strlcpy
12strlcat
13mktime
14rename
15initgroups
16memmove
17strdup
18setlinebuf
19vsyslog
20timegm
21setenv
22unsetenv
23strndup
24strnlen
25waitpid
26seteuid
27setegid
28asprintf
29snprintf
30vasprintf
31vsnprintf
32opendir
33readdir
34telldir
35seekdir
36clock_gettime
37closedir
38dlopen
39dlclose
40dlsym
41dlerror
42chroot
43bzero
44strerror
45errno
46mkdtemp
47mkstemp (a secure one!)
48pread
49pwrite
50chown
51lchown
52readline (the library)
53inet_ntoa
54inet_ntop
55inet_pton
56inet_aton
57strtoll
58strtoull
59socketpair
60strptime
61getaddrinfo
62freeaddrinfo
63getnameinfo
64gai_strerror
65getifaddrs
66freeifaddrs
67utime
68utimes
69dup2
70link
71readlink
72symlink
73realpath
74poll
75setproctitle
76memset_s
77
78Types:
79bool
80socklen_t
81uint{8,16,32,64}_t
82int{8,16,32,64}_t
83intptr_t
84sig_atomic_t
85blksize_t
86blkcnt_t
87
88Constants:
89PATH_NAME_MAX
90UINT{16,32,64}_MAX
91INT32_MAX
92RTLD_LAZY
93HOST_NAME_MAX
94UINT16_MAX
95UINT32_MAX
96UINT64_MAX
97CHAR_BIT
98
99Macros:
100va_copy
101__FUNCTION__
102__FILE__
103__LINE__
104__LINESTR__
105__location__
106__STRING
107__STRINGSTRING
108MIN
109MAX
110QSORT_CAST
111ZERO_STRUCT
112ZERO_STRUCTP
113ZERO_STRUCTPN
114ZERO_ARRAY
115ARRAY_SIZE
116PTR_DIFF
117
118Headers:
119stdint.h
120stdbool.h
121
122Optional C keywords:
123volatile
124
125Prerequisites:
126memset (for bzero)
127syslog (for vsyslog)
128mktemp (for mkstemp and mkdtemp)
129