source: branches/samba-3.3.x/source/lib/replace/README

Last change on this file was 206, checked in by Herwig Bauernfeind, 16 years ago

Import Samba 3.3 branch at 3.0.0 level (psmedley's port)

File size: 1.4 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
36closedir
37dlopen
38dlclose
39dlsym
40dlerror
41chroot
42bzero
43strerror
44errno
45mkdtemp
46mkstemp (a secure one!)
47pread
48pwrite
49getpass
50readline (the library)
51inet_ntoa
52inet_ntop
53inet_pton
54inet_aton
55strtoll
56strtoull
57socketpair
58strptime
59getaddrinfo
60freeaddrinfo
61getnameinfo
62gai_strerror
63getifaddrs
64freeifaddrs
65utime
66utimes
67
68Types:
69bool
70socklen_t
71uint_t
72uint{8,16,32,64}_t
73int{8,16,32,64}_t
74intptr_t
75
76Constants:
77PATH_NAME_MAX
78UINT{16,32,64}_MAX
79INT32_MAX
80RTLD_LAZY
81HOST_NAME_MAX
82UINT16_MAX
83UINT32_MAX
84UINT64_MAX
85CHAR_BIT
86
87Macros:
88va_copy
89__FUNCTION__
90__FILE__
91__LINE__
92__LINESTR__
93__location__
94__STRING
95__STRINGSTRING
96MIN
97MAX
98QSORT_CAST
99ZERO_STRUCT
100ZERO_STRUCTP
101ZERO_STRUCTPN
102ZERO_ARRAY
103ARRAY_SIZE
104PTR_DIFF
105
106Headers:
107stdint.h
108stdbool.h
109
110Prerequisites:
111memset (for bzero)
112syslog (for vsyslog)
113mktemp (for mkstemp and mkdtemp)
Note: See TracBrowser for help on using the repository browser.