source: vendor/current/lib/replace/README

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 1.5 KB
Line 
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
76
77Types:
78bool
79socklen_t
80uint{8,16,32,64}_t
81int{8,16,32,64}_t
82intptr_t
83sig_atomic_t
84blksize_t
85blkcnt_t
86
87Constants:
88PATH_NAME_MAX
89UINT{16,32,64}_MAX
90INT32_MAX
91RTLD_LAZY
92HOST_NAME_MAX
93UINT16_MAX
94UINT32_MAX
95UINT64_MAX
96CHAR_BIT
97
98Macros:
99va_copy
100__FUNCTION__
101__FILE__
102__LINE__
103__LINESTR__
104__location__
105__STRING
106__STRINGSTRING
107MIN
108MAX
109QSORT_CAST
110ZERO_STRUCT
111ZERO_STRUCTP
112ZERO_STRUCTPN
113ZERO_ARRAY
114ARRAY_SIZE
115PTR_DIFF
116
117Headers:
118stdint.h
119stdbool.h
120
121Optional C keywords:
122volatile
123
124Prerequisites:
125memset (for bzero)
126syslog (for vsyslog)
127mktemp (for mkstemp and mkdtemp)
Note: See TracBrowser for help on using the repository browser.